mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-20 16:22:27 +00:00
[skip ci] Add example nginx config
This commit is contained in:
parent
af96f615c7
commit
ab758fe713
1 changed files with 28 additions and 0 deletions
28
scripts-and-tools/example-nginx-lighthouse.conf
Normal file
28
scripts-and-tools/example-nginx-lighthouse.conf
Normal file
|
@ -0,0 +1,28 @@
|
|||
server {
|
||||
server_name example.com resa.example.com resb.example.com resc.example.com resd.example.com rese.example.com resf.example.com res1.example.com res2.example.com res3.example.com res4.example.com res5.example.com res6.example.com res7.example.com res8.example.com res9.example.com res0.example.com;
|
||||
|
||||
ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers ALL;
|
||||
ssl_prefer_server_ciphers off;
|
||||
|
||||
location / {
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass http://127.0.0.1:10060;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
location /LITTLEBIGPLANETPS3_XML/ {
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass http://127.0.0.1:10061;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass http://127.0.0.1:10062;
|
||||
}
|
||||
|
||||
keepalive_timeout 0;
|
||||
|
||||
listen 80;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue