Added site configs; updated some stuff
This commit is contained in:
parent
102aaa59e4
commit
da1df2e798
8 changed files with 43 additions and 11 deletions
|
|
@ -1,8 +1,8 @@
|
|||
http {
|
||||
# SSL CONFIGURATION
|
||||
# Key locations
|
||||
ssl_certificate /etc/letsencrypt/live/karaoke.roosens.me/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/karaoke.roosens.me/privkey.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/your.domain.here/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/your.domain.here/privkey.pem;
|
||||
|
||||
# Allowed protocols
|
||||
ssl_protocols TLSv1.2;
|
||||
|
|
@ -21,5 +21,5 @@ http {
|
|||
|
||||
|
||||
# LOAD SITES
|
||||
include conf.d/sites_enabled/*.conf;
|
||||
include sites_enabled/*.conf;
|
||||
}
|
||||
|
|
@ -5,4 +5,4 @@ user nginx nginx;
|
|||
worker_processes auto;
|
||||
|
||||
# Load config segments
|
||||
include conf.d/http;
|
||||
include conf.d/*;
|
||||
|
|
|
|||
19
nginx/config/sites-available/firefly-iii.conf
Normal file
19
nginx/config/sites-available/firefly-iii.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
server_name PLACEHOLDER;
|
||||
|
||||
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;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
resolver 127.0.0.11;
|
||||
proxy_pass http://firefly_app_1:8080;
|
||||
}
|
||||
}
|
||||
|
||||
11
nginx/config/sites-available/portainer.conf
Normal file
11
nginx/config/sites-available/portainer.conf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
server_name PLACEHOLDER;
|
||||
|
||||
location / {
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
resolver 127.0.0.11;
|
||||
proxy_pass http://portainer_app_1:9000;
|
||||
}
|
||||
}
|
||||
Reference in a new issue