41 lines
868 B
Plaintext
41 lines
868 B
Plaintext
server {
|
|
server_name __CLIENT_F7CLOUD__;
|
|
|
|
|
|
|
|
server_tokens off;
|
|
|
|
location ^~ /.well-known/acme-challenge/ {
|
|
root /var/www/html;
|
|
try_files $uri =404;
|
|
}
|
|
location / {
|
|
proxy_pass http://__IP_CLIENT_F7CLOUD__:80;
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
proxy_set_header X-Forwarded-Host $host;
|
|
proxy_set_header X-Forwarded-Port 443;
|
|
|
|
proxy_read_timeout 3600;
|
|
proxy_send_timeout 3600;
|
|
proxy_connect_timeout 60;
|
|
|
|
proxy_buffering off;
|
|
proxy_request_buffering off;
|
|
}
|
|
|
|
access_log /var/log/nginx/__CLIENT_F7CLOUD___access.log;
|
|
error_log /var/log/nginx/__CLIENT_F7CLOUD___error.log;
|
|
|
|
listen [::]:80;
|
|
listen 80;
|
|
|
|
}
|
|
|
|
|
|
|