First page served

master
Florian Meissner, DL1MRV 2023-07-13 11:50:48 +02:00
parent d2e502712a
commit 453ecef4e8
4 changed files with 48 additions and 9 deletions

View File

@ -4,26 +4,26 @@
"Org.european-airports.api" : "src" "Org.european-airports.api" : "src"
} }
}, },
"name" : "org.european-airports.api/Backend", "name" : "org.european-airports.api/backend",
"require" : { "require" : {
"php" : ">=8.2" "php" : ">=8.2"
}, },
"description" : "Backend logig and API provider for European Airports", "description" : "Backend logic and API provider for European Airports",
"type" : "project", "type" : "project",
"homepage" : "https://api.european-airports.org", "homepage" : "https://api.european-airports.org",
"license" : "GPL-3.0", "license" : "GPL-3.0",
"authors" : [{ "authors" : [{
"name" : "Florian Meissner", "name" : "Florian Meissner",
"email" : "florianmeissner@gmx.de", "email" : "florianmeissner@gmx.de",
"homepage" : "florian-meissner.org", "homepage" : "https://florian-meissner.org",
"role" : [ "role" : "Developer, Owner, Manager"
"Developer",
"Owner",
"Manager"
]
} }
], ],
"keywords" : [ "keywords" : [
"backend api european-airports" "backend api european-airports"
] ],
"readme" : "./README.md",
"support" : {
"email" : "info@european-airports.org"
}
} }

36
nginx.env Normal file
View File

@ -0,0 +1,36 @@
# ****************************************************************************************************
# * ______ _ _ *
# * | ____| /\ (_) | | *
# * | |__ _ _ _ __ ___ _ __ ___ __ _ _ __ / \ _ _ __ _ __ ___ _ __| |_ ___ *
# * | __|| | | | '__/ _ \| '_ \ / _ \/ _` | '_ \ / /\ \ | | '__| '_ \ / _ \| '__| __/ __| *
# * | |___| |_| | | | (_) | |_) | __/ (_| | | | | / ____ \| | | | |_) | (_) | | | |_\__ \ *
# * |______\__,_|_| \___/| .__/ \___|\__,_|_| |_| /_/ \_\_|_| | .__/ \___/|_| \__|___/ *
# * | | | | *
# * |_| |_| *
# * *
# ****************************************************************************************************
# This file is part of the European Airports Project, a free, collaborative platform of airport data
# extending beyond the official AIPs.
# Copyright (C) 2023
# Florian Meissner <florianmeissner@gmx.de>
# This program is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software Foundation, either
# version 3 of the License, or (at your option) any later version. This program is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details. You should have received a copy of the GNU General Public License along with this program.
# (license.md in the root folder of this project) If not, see <http://www.gnu.org/licenses/>.
# This file contains environment variables for customizing nginx's config file to this particular
# service.
# Name of the docker service that should handle PHP requests.
PHP_HOST=backend-php
# Host URL of this service
NGINX_HOST=api.european-airports.org

2
src/index.php Normal file
View File

@ -0,0 +1,2 @@
<?php
echo ("Hello World!");

1
src/test.htm Normal file
View File

@ -0,0 +1 @@
<h1>Test</h1>