mirror of
https://github.com/KevinMidboe/nginx.git
synced 2026-01-07 09:55:36 +00:00
All updated & new site configs
This commit is contained in:
@@ -1,4 +1,27 @@
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name geobus.ruterna.no;
|
||||
|
||||
location / {
|
||||
proxy_http_version 1.1;
|
||||
add_header 'Access-Control-Allow-Origin' 'lottis.vin';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
add_header 'Access-Control-Allow-Headers' 'Content-Type';
|
||||
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://localhost:31775;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/vinlottis.no-0001/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/vinlottis.no-0001/privkey.pem; # managed by Certbot
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
@@ -16,7 +39,9 @@ server {
|
||||
|
||||
proxy_pass http://localhost:30011/;
|
||||
}
|
||||
ssl_certificate /etc/letsencrypt/live/ruterna.no-0001/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/ruterna.no-0001/privkey.pem; # managed by Certbot
|
||||
|
||||
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/ruterna.no/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/ruterna.no/privkey.pem; # managed by Certbot
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user