mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 13:16:06 +08:00
typo in domain name
This commit is contained in:
parent
2235240dd6
commit
3de196c60e
@ -12,7 +12,7 @@ server {
|
|||||||
listen unix:/dev/shm/h1.sock proxy_protocol; #HTTP/1.1 server monitor process and enable PROXY protocol reception
|
listen unix:/dev/shm/h1.sock proxy_protocol; #HTTP/1.1 server monitor process and enable PROXY protocol reception
|
||||||
set_real_ip_from unix:;
|
set_real_ip_from unix:;
|
||||||
real_ip_header proxy_protocol;
|
real_ip_header proxy_protocol;
|
||||||
server_name examle.com behindcdn.com; #Change to your own domain name(s)
|
server_name example.com behindcdn.com; #Change to your own domain name(s)
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; #启用HSTS
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; #启用HSTS
|
||||||
@ -26,7 +26,7 @@ server {
|
|||||||
listen unix:/dev/shm/h2c.sock http2 proxy_protocol; #H2C server monitor process and enable PROXY protocol reception
|
listen unix:/dev/shm/h2c.sock http2 proxy_protocol; #H2C server monitor process and enable PROXY protocol reception
|
||||||
set_real_ip_from unix:;
|
set_real_ip_from unix:;
|
||||||
real_ip_header proxy_protocol;
|
real_ip_header proxy_protocol;
|
||||||
server_name examle.com behindcdn.com; #Change to your own domain name(s) (don't forget to add the certificates to xray config)
|
server_name example.com behindcdn.com; #Change to your own domain name(s) (don't forget to add the certificates to xray config)
|
||||||
|
|
||||||
# grpc settings
|
# grpc settings
|
||||||
grpc_read_timeout 1h;
|
grpc_read_timeout 1h;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user