bodypainter.artiks.tk
This commit is contained in:
parent
fe1d86a3f2
commit
bcca37e20f
|
|
@ -8,20 +8,16 @@ server {
|
||||||
ssl_certificate /letsencrypt/live/arti24.eu/fullchain.pem;
|
ssl_certificate /letsencrypt/live/arti24.eu/fullchain.pem;
|
||||||
ssl_certificate_key /letsencrypt/live/arti24.eu/privkey.pem;
|
ssl_certificate_key /letsencrypt/live/arti24.eu/privkey.pem;
|
||||||
|
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
|
|
||||||
location /angular{
|
|
||||||
rewrite ^/angular(.*)$ https://angular.arti24.eu/$1 redirect;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
||||||
# Ograniczenie liczby żądań
|
# Ograniczenie liczby żądań
|
||||||
limit_req zone=ip_limit burst=20 nodelay;
|
limit_req zone=ip_limit burst=20 nodelay;
|
||||||
|
|
||||||
proxy_pass http://arti-angular-app:4200;
|
proxy_pass http://zaklik_by_node_js:3000;
|
||||||
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
@ -31,7 +27,3 @@ server {
|
||||||
proxy_set_header X-Forwarded-Port $server_port;
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue