bodypainter.artiks.tk
This commit is contained in:
parent
f0e4c08ed4
commit
fe1d86a3f2
|
|
@ -0,0 +1,30 @@
|
||||||
|
server {
|
||||||
|
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name bodypainter.artiks.tk;
|
||||||
|
|
||||||
|
server_tokens off;
|
||||||
|
|
||||||
|
ssl_certificate /letsencrypt/live/artiks.tk/fullchain.pem;
|
||||||
|
ssl_certificate_key /letsencrypt/live/artiks.tk/privkey.pem;
|
||||||
|
|
||||||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
|
|
||||||
|
|
||||||
|
location / {
|
||||||
|
|
||||||
|
# Ograniczenie liczby żądań
|
||||||
|
limit_req zone=ip_limit burst=20 nodelay;
|
||||||
|
|
||||||
|
proxy_pass http://zaklik_by_node_js:3000;
|
||||||
|
|
||||||
|
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 $scheme;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue