Added nefarious & miniflux nginx configs

pull/3/head
Jef Roosens 2021-01-09 15:23:04 +01:00
parent 929d1e2cf4
commit 38658871e5
5 changed files with 53 additions and 7 deletions

View File

@ -1,6 +1,6 @@
server { server {
listen 443 ssl; listen 443 ssl;
server_name PLACEHOLDER; server_name DOMAIN;
location / { location / {
proxy_set_header Host $host; proxy_set_header Host $host;

View File

@ -0,0 +1,10 @@
server {
listen 443 ssl;
server_name DOMAIN;
location / {
resolver 127.0.0.11;
proxy_pass http://miniflux_app_1:8080;
}
}

View File

@ -0,0 +1,36 @@
server {
listen 443 ssl;
server_name DOMAIN;
location / {
resolver 127.0.0.11;
proxy_pass http://nefarious_transmission_1:9091;
}
}
server {
listen 443 ssl;
server_name DOMAIN;
location / {
resolver 127.0.0.11;
proxy_pass http://nefarious_jackett_1:9117;
}
}
server {
listen 443 ssl;
server_name DOMAIN;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl on;
resolver 127.0.0.11;
proxy_pass http://nefarious_app_1:80;
}
}

View File

@ -1,6 +1,6 @@
server { server {
listen 443 ssl; listen 443 ssl;
server_name PLACEHOLDER; server_name DOMAIN;
location / { location / {
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";

View File

@ -11,13 +11,13 @@ http {
# ssl_ciphers EECDH+CHACHA20:EECDH+AES; # ssl_ciphers EECDH+CHACHA20:EECDH+AES;
# Cache settings # Cache settings
ssl_session_cache shared:SSL:10m; ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m; ssl_session_timeout 10m;
# Still gotta figure out what these do # Still gotta figure out what these do
ssl_session_tickets off; ssl_session_tickets off;
ssl_prefer_server_ciphers on; ssl_prefer_server_ciphers on;
ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1;
# Auto-route all HTTP requests to HTTPS # Auto-route all HTTP requests to HTTPS