From 5d55842c465710c910735bb6a55fcb42f910984e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 26 Nov 2023 10:28:25 +0100 Subject: update commit --- web.conf.template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 web.conf.template (limited to 'web.conf.template') diff --git a/web.conf.template b/web.conf.template new file mode 100644 index 0000000..36016fa --- /dev/null +++ b/web.conf.template @@ -0,0 +1,17 @@ +server { + server_name ${DOMAIN}; + + root /var/www/html; + index index.php; + + location / { + try_files $uri $uri/ /index.php$query_string; + } + + location ~ \.php$ { + fastcgi_pass php:9000; + fastcgi_index index.php; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + include fastcgi_params; + } +} -- cgit v1.2.3