1
0
mirror of https://github.com/tommytran732/Gitea-Docker-Compose synced 2024-11-24 02:21:35 -05:00

Change server_name

This commit is contained in:
Tommy 2023-08-17 12:18:23 -07:00 committed by GitHub
parent 683b932581
commit c9b8ed186b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name gitea.*;
server_name git.*;
include /config/nginx/ssl.conf;
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
@ -49,4 +49,4 @@ server {
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
}