Update nginx confs for proxy mod (#698)

* Update default.conf.sample

* Update proxy.conf.sample

* Update Dockerfile

* Delete proxy.conf.sample

* Update Dockerfile
This commit is contained in:
Eric Nemchik
2023-05-18 15:43:59 -05:00
committed by GitHub
parent 2e6c10dec4
commit 648881fb01
3 changed files with 9 additions and 36 deletions
@@ -1,14 +1,16 @@
## Version 2022/09/02 - Changelog: https://github.com/linuxserver/docker-mods/blob/nginx-proxy-confs/root/defaults/nginx/site-confs/default.conf.sample
## Version 2023/05/18 - Changelog: https://github.com/linuxserver/docker-mods/commits/nginx-proxy-confs/root/defaults/nginx/site-confs/default.conf.sample
server {
listen 80 default_server;
listen [::]:80 default_server;
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name _;
include /config/nginx/ssl.conf;
set $root /app/www/public;
if (!-d /app/www/public) {
set $root /config/www;
@@ -43,4 +45,4 @@ server {
# enable subdomain method reverse proxy confs
include /config/nginx/proxy-confs/*.subdomain.conf;
# enable proxy cache for auth
proxy_cache_path cache/ keys_zone=auth_cache:10m;
proxy_cache_path cache/ keys_zone=auth_cache:10m;