2021-05-08 21:31:13 +00:00
|
|
|
server {
|
|
|
|
server_name ~(?<domain>.+).sutty.local;
|
|
|
|
listen 4000 ssl http2 default_server;
|
|
|
|
|
2021-07-08 22:55:04 +00:00
|
|
|
ssl_certificate /etc/ssl/certs/sutty.local.crt;
|
|
|
|
ssl_certificate_key /etc/ssl/private/sutty.local.key;
|
2021-05-08 21:31:13 +00:00
|
|
|
|
|
|
|
root /Sutty/$domain-jekyll-theme/_site;
|
|
|
|
|
|
|
|
add_header Cache-Control "no-store; max-age=0";
|
|
|
|
|
|
|
|
location /assets/js/ {
|
|
|
|
proxy_pass http://127.0.0.1:65001;
|
|
|
|
}
|
|
|
|
|
2021-06-08 16:27:02 +00:00
|
|
|
location /sw.js {
|
|
|
|
proxy_pass http://127.0.0.1:65001;
|
|
|
|
}
|
|
|
|
|
2021-05-08 21:31:13 +00:00
|
|
|
location /sockjs-node/ {
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_pass http://127.0.0.1:65001;
|
|
|
|
}
|
|
|
|
}
|