1
0
mirror of https://github.com/tommytran732/Miniflux-Docker-Compose synced 2024-11-21 21:51:32 -05:00

Update reverse proxy config

This commit is contained in:
Tommy 2023-08-15 17:48:58 -07:00 committed by GitHub
parent 5161a39031
commit 220dd04bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,14 @@
## Version 2022/09/08 ## Version 2023/05/31
# make sure that your miniflux container is named miniflux
# make sure that your dns has a cname set for miniflux # make sure that your dns has a cname set for miniflux
server { server {
listen 443 ssl; listen 443 ssl http2;
listen [::]:443 ssl; listen [::]:443 ssl http2;
server_name rss.*; server_name miniflux.*;
include /config/nginx/ssl.conf; include /config/nginx/ssl.conf;
# HSTS (ngx_http_headers_module is required) (63072000 seconds)
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always; add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
client_max_body_size 0; client_max_body_size 0;
@ -20,6 +19,9 @@ server {
# enable for Authelia (requires authelia-location.conf in the location block) # enable for Authelia (requires authelia-location.conf in the location block)
#include /config/nginx/authelia-server.conf; #include /config/nginx/authelia-server.conf;
# enable for Authentik (requires authentik-location.conf in the location block)
#include /config/nginx/authentik-server.conf;
location / { location / {
# enable the next two lines for http auth # enable the next two lines for http auth
#auth_basic "Restricted"; #auth_basic "Restricted";
@ -31,6 +33,9 @@ server {
# enable for Authelia (requires authelia-server.conf in the server block) # enable for Authelia (requires authelia-server.conf in the server block)
#include /config/nginx/authelia-location.conf; #include /config/nginx/authelia-location.conf;
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;
include /config/nginx/proxy.conf; include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf; include /config/nginx/resolver.conf;
set $upstream_app miniflux; set $upstream_app miniflux;