mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2026-02-05 07:40:55 +01:00
Generalized hostname
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
#### For <sl.$NGINX_DOMAIN>
|
||||
#### For <$NGINX_HOSTNAME>
|
||||
|
||||
upstream docker-scalelite {
|
||||
server scalelite.api:3000;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name sl.$NGINX_DOMAIN;
|
||||
server_name $NGINX_HOSTNAME;
|
||||
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen 443 ssl;
|
||||
listen [::]:443;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/sl.$NGINX_DOMAIN/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/sl.$NGINX_DOMAIN/privkey.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/$NGINX_HOSTNAME/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/$NGINX_HOSTNAME/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://docker-scalelite;
|
||||
|
||||
Reference in New Issue
Block a user