Switch nginx listeners to proper ports
This commit is contained in:
parent
c7c812be05
commit
fb155fbc61
@ -10,7 +10,7 @@ data:
|
|||||||
nginx-config: |-
|
nginx-config: |-
|
||||||
server {
|
server {
|
||||||
server_name www.atat.codes atat.codes;
|
server_name www.atat.codes atat.codes;
|
||||||
listen 80 http2;
|
listen 8080 http2;
|
||||||
#if ($http_x_forwarded_proto != 'https') {
|
#if ($http_x_forwarded_proto != 'https') {
|
||||||
# return 301 https://$host$request_uri;
|
# return 301 https://$host$request_uri;
|
||||||
#}
|
#}
|
||||||
@ -29,7 +29,7 @@ data:
|
|||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
server_name auth.atat.codes;
|
server_name auth.atat.codes;
|
||||||
listen 443 ssl http2;
|
listen 8443 ssl http2;
|
||||||
listen [::]:443 ssl http2 ipv6only=on;
|
listen [::]:443 ssl http2 ipv6only=on;
|
||||||
# SSL server certificate and private key
|
# SSL server certificate and private key
|
||||||
ssl_certificate /etc/ssl/private/auth.atat.crt
|
ssl_certificate /etc/ssl/private/auth.atat.crt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user