MAPG-92 use Nginx instead of Apache in Docker environment

This commit is contained in:
bence committed 2020-05-31 14:41:53 +02:00
1 parent 0ca7ea75b2
commit 6115dc7bc6
3 files changed
+29 -23

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/mapguesser/public;
index index.php index.html index.htm index.nginx-debian.html;
server_name mapguesser-dev.ch;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}