m
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
#listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
server_name code.zinomedia.de;
|
server_name code.zinomedia.de;
|
||||||
|
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|||||||
32
volumes/conf.d/validate.vouch.armos.zinomedia.de.conf
Normal file
32
volumes/conf.d/validate.vouch.armos.zinomedia.de.conf
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
server_name validate.vouch.armos.zinomedia.de;
|
||||||
|
|
||||||
|
access_log off;
|
||||||
|
error_log /var/log/nginx/error.log error;
|
||||||
|
|
||||||
|
ssl_certificate /etc/letsencrypt/live/validate.vouch.armos.zinomedia.de/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/validate.vouch.armos.zinomedia.de/privkey.pem;
|
||||||
|
|
||||||
|
# SSL Optimizations
|
||||||
|
#ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
|
#ssl_session_cache shared:SSL:10m;
|
||||||
|
#ssl_session_timeout 10m;
|
||||||
|
|
||||||
|
#add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
resolver 127.0.0.11;
|
||||||
|
set $upstream "http://vouch:9090/validate";
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_pass $upstream;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name validate.vouch.armos.zinomedia.de;
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
}
|
||||||
@@ -19,9 +19,8 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
resolver 127.0.0.11;
|
resolver 127.0.0.11;
|
||||||
set $upstream "http://vouch:9090";
|
set $upstream "http://vouch:9090";
|
||||||
|
|
||||||
proxy_pass $upstream;
|
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_pass $upstream;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user