DK
Size: a a a
AS
AS
А
А
А
EF
server {
listen 80;
listen [::]:80;
server_name localhost;
proxy_redirect off;
rewrite_log on;
access_log /var/log/nginx/host.access.log main;
location /platform {
root /opt;
index index.html;
}
location / {
if ($http_referer ~ .*/platform/?$) {
rewrite ^/(.*)/?$ /platform/$1 redirect;
}
root /opt/landing;
index index.html;
}
error_page 404 /404.html;
location = /40x.html {
root /usr/share/nginx/html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
EF
SA
SA
M
mK