From a72f3935679e09a9c57579fcce3d4a2699401f0e Mon Sep 17 00:00:00 2001 From: xZero707 Date: Mon, 23 Jan 2023 22:46:31 +0100 Subject: [PATCH] Remove nginx leftover --- rootfs/etc/templates/tmpl-app-nginx.conf | 40 ------------------------ 1 file changed, 40 deletions(-) delete mode 100644 rootfs/etc/templates/tmpl-app-nginx.conf diff --git a/rootfs/etc/templates/tmpl-app-nginx.conf b/rootfs/etc/templates/tmpl-app-nginx.conf deleted file mode 100644 index 6ce2aca..0000000 --- a/rootfs/etc/templates/tmpl-app-nginx.conf +++ /dev/null @@ -1,40 +0,0 @@ -server { - listen 80; - listen [::]:80; - - server_name {{ getenv "VIRTUAL_HOST" | strings.ReplaceAll "," " " }}; - set $base /var/www; - root $base/{{ getenv "WEB_ROOT" }}; - - # security - include nginxconfig.io/security.conf; - - # logging - access_log /var/log/nginx/app-access.log; - error_log /var/log/nginx/app-error.log warn; - - # index.php - index index.php; - - # index.php fallback - location / { - try_files $uri $uri/ /index.php?$query_string; - } - - #Add trailing slash to */wp-admin requests. - rewrite /wp-admin$ $scheme://$host$uri/ permanent; - - # handle .php - location ~ \.php$ { - fastcgi_intercept_errors on; - include nginxconfig.io/php_fastcgi.conf; - } - - location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { - expires max; - log_not_found off; - } - - # additional config - include nginxconfig.io/general.conf; -}