chore: configurable deployment
This commit is contained in:
1 parent
caeb47be11
commit
6be745a6f4
6 files changed
+62
-30
No files matched your search
@@ -2,7 +2,7 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name hub.hordelab.com;
|
||||
server_name $DOMAIN;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
@@ -12,13 +12,13 @@ server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
server_name hub.hordelab.com;
|
||||
server_name $DOMAIN;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/hub.hordelab.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/hub.hordelab.com/privkey.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/$DOMAIN/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/$DOMAIN/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:17922;
|
||||
proxy_pass http://localhost:$PORT;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
# Websocket support
|
||||
|
||||
Reference in new issue
Block a user