2023-04-24 10:11:09 +00:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2023-10-31 15:42:06 +00:00
|
|
|
ssl_certificate $JC_CERT/fullchain.pem;
|
|
|
|
ssl_certificate_key $JC_CERT/privkey.pem;
|
2024-01-02 16:50:14 +00:00
|
|
|
server_name $JC_SERVICE www.$JC_SERVICE;
|
2023-04-24 10:11:09 +00:00
|
|
|
|
|
|
|
location / {
|
|
|
|
client_max_body_size 2G;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
proxy_read_timeout 86400;
|
|
|
|
proxy_redirect off;
|
2024-01-02 16:50:14 +00:00
|
|
|
proxy_pass http://$NET.100;
|
2023-04-24 10:11:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-22 00:43:01 +00:00
|
|
|
#server {
|
|
|
|
# listen 443 ssl http2;
|
|
|
|
# listen [::]:443 ssl http2;
|
|
|
|
# ssl_certificate $JC_CERT/fullchain.pem;
|
|
|
|
# ssl_certificate_key $JC_CERT/privkey.pem;
|
|
|
|
# server_name test.rpnow.jean-cloud.net www.test.rpnow.jean-cloud.net;
|
|
|
|
#
|
|
|
|
# location / {
|
|
|
|
# client_max_body_size 2G;
|
|
|
|
# proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
# proxy_set_header Host $http_host;
|
|
|
|
# proxy_http_version 1.1;
|
|
|
|
# proxy_set_header Upgrade $http_upgrade;
|
|
|
|
# proxy_set_header Connection "upgrade";
|
|
|
|
# proxy_read_timeout 86400;
|
|
|
|
# proxy_redirect off;
|
|
|
|
# proxy_pass http://$NET.101;
|
|
|
|
# }
|
|
|
|
#}
|
2023-04-24 10:11:09 +00:00
|
|
|
|