themslef.eu on 3030 port
This commit is contained in:
parent
e74c012fe5
commit
047336b75e
|
|
@ -1,16 +1,30 @@
|
||||||
server {
|
server {
|
||||||
|
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
server_name themself.eu;
|
||||||
|
|
||||||
server_name www.themself.eu themself.eu;
|
server_tokens off;
|
||||||
|
|
||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
|
||||||
|
|
||||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
|
||||||
|
|
||||||
ssl_certificate /letsencrypt/live/themself.eu/fullchain.pem;
|
ssl_certificate /letsencrypt/live/themself.eu/fullchain.pem;
|
||||||
ssl_certificate_key /letsencrypt/live/themself.eu/privkey.pem;
|
ssl_certificate_key /letsencrypt/live/themself.eu/privkey.pem;
|
||||||
|
|
||||||
return 301 https://driving.themself.eu$request_uri;
|
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://arti24-container:3030;
|
||||||
|
|
||||||
|
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