mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
16 lines
434 B
Plaintext
16 lines
434 B
Plaintext
server {{
|
|
listen 443 ssl;
|
|
server_name {hostname}.local;
|
|
ssl_certificate /root/appmgr/apps/{app_id}/cert-local.fullchain.crt.pem;
|
|
ssl_certificate_key /root/appmgr/apps/{app_id}/cert-local.key.pem;
|
|
location / {{
|
|
proxy_pass http://{app_ip}:{internal_port}/;
|
|
proxy_set_header Host $host;
|
|
}}
|
|
}}
|
|
server {{
|
|
listen 80;
|
|
server_name {hostname}.local;
|
|
return 301 https://$host$request_uri;
|
|
}}
|