new web structure

This commit is contained in:
Milan Toman
2021-03-18 12:26:45 +01:00
parent 1cdfe47bdb
commit dc9af6a532
2 changed files with 20 additions and 0 deletions

20
config/nginx.d/nginx.conf Normal file
View File

@@ -0,0 +1,20 @@
server {
listen 81 default_server;
root /app;
index index.php index.html index.htm;
location ~ \.php$ {
fastcgi_pass php:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
#server {
# listen 82 default_server;
# root /app/master/www;
# index index.php index.html index.htm;
# location ~ \.php$ {
# fastcgi_pass php:9000;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# include fastcgi_params;
# }
#}