+ fix install tmux plugin check
+ nginx master proxy dummy things #861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name domain;
|
||||
client_max_body_size 0;
|
||||
location / {
|
||||
proxy_pass http://lxc_host;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_connect_timeout 600;
|
||||
proxy_send_timeout 600;
|
||||
proxy_read_timeout 600;
|
||||
send_timeout 600;
|
||||
}
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/tmp/domain/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/tmp/domain/privkey.pem;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name domain;
|
||||
ignore_invalid_headers off;
|
||||
client_max_body_size 0;
|
||||
proxy_buffering off;
|
||||
location / {
|
||||
proxy_pass http://lxc_host:9000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
# Default is HTTP/1, keepalive is only enabled in HTTP/1.1
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
chunked_transfer_encoding off;
|
||||
}
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/tmp/domain/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/tmp/domain/privkey.pem;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name domain;
|
||||
location / {
|
||||
proxy_pass https://lxc_host;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/tmp/domain/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/tmp/domain/privkey.pem;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name domain;
|
||||
location / {
|
||||
proxy_pass http://lxc_host:8080;
|
||||
access_log off;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
client_max_body_size 60m;
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
location /api/eventSourceBus {
|
||||
proxy_pass http://lxc_host:8080;
|
||||
access_log off;
|
||||
proxy_cache off;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 86400s;
|
||||
proxy_send_timeout 86400s;
|
||||
proxy_set_header Connection '';
|
||||
chunked_transfer_encoding off;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/tmp/domain/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/tmp/domain/privkey.pem;
|
||||
}
|
Reference in New Issue
Block a user