mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
add default conf file
This commit is contained in:
parent
a04eb341e1
commit
a04416e7e7
1
.gitignore
vendored
1
.gitignore
vendored
@ -73,7 +73,6 @@ logs.txt
|
||||
|
||||
*/Cert.crt
|
||||
*/Key.key
|
||||
Nginx/default.conf
|
||||
|
||||
Certs/StatusPageCerts/*.crt
|
||||
Certs/StatusPageCerts/*.key
|
||||
|
@ -159,10 +159,7 @@ server {
|
||||
listen 443 ssl; # Port HTTPS
|
||||
listen 80;
|
||||
|
||||
server_name localhost;
|
||||
{{ if ne .Env.DOMAIN "localhost" }}
|
||||
server_name {{ .Env.DOMAIN }};
|
||||
{{ end }}
|
||||
server_name localhost $DOMAIN; #All domains
|
||||
|
||||
ssl_certificate /etc/nginx/certs/ServerCerts/Cert.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/ServerCerts/Key.key;
|
Loading…
Reference in New Issue
Block a user