Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# ***********************************************************************************************************************************
|
||||
# * ___, _ ____ , __ *
|
||||
# * / | o | | (| \ /|/ \ | *
|
||||
# * | | ,_ ,_ __, | | | | _ _ __, ,_ _|_ ,_ _ | __/ __ __, ,_ __| *
|
||||
# * | | / | / | | | |_/ | |/ _| ||/ |/ \_/ | / | | | | / | |/ | \/ \_/ | / | / | *
|
||||
# * \__/\_/ |_/ |_/|_/ \/ \_/|_/|__/ (/\___/ |__/|__/ \_/|_/ |_/|_/ \_/|_/ |_/|__/ |(__/\__/ \_/|_/ |_/\_/|_/ *
|
||||
# * /| *
|
||||
# * \| *
|
||||
# * *
|
||||
# ***********************************************************************************************************************************
|
||||
|
||||
ARG NGINX_VERSION
|
||||
FROM nginx:${NGINX_VERSION}
|
||||
|
||||
# Set timezone
|
||||
RUN apk add --no-cache tzdata
|
||||
ENV TZ=Etc/UTC
|
||||
|
||||
# Copy configurations
|
||||
COPY etc/ /etc
|
||||
|
||||
WORKDIR /var/www/html
|
||||
@@ -0,0 +1,19 @@
|
||||
server {
|
||||
listen 80;
|
||||
root /var/www/html;
|
||||
server_name adb.european-airports.org;
|
||||
index index.php;
|
||||
|
||||
location ~ \.php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param REQUEST_METHOD $request_method;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user