fix endpoint in nginx config
This commit is contained in:
parent
8e42029d13
commit
efe5814a6a
@ -72,7 +72,7 @@ function add_nginx_config() {
|
||||
|
||||
echo "server {
|
||||
listen 443 ssl;
|
||||
server_name headscale.simponic.xyz;
|
||||
server_name $endpoint;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/$endpoint/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/$endpoint/privkey.pem;
|
||||
|
@ -1,6 +1,6 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name headscale.simponic.xyz;
|
||||
server_name phoneof.simponic.xyz;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/phoneof.simponic.xyz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/phoneof.simponic.xyz/privkey.pem;
|
||||
|
@ -1,6 +1,6 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name headscale.simponic.xyz;
|
||||
server_name something.simponic.xyz;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/something.simponic.xyz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/something.simponic.xyz/privkey.pem;
|
||||
|
Loading…
x
Reference in New Issue
Block a user