История страницы
...
| Без форматирования |
|---|
server {
listen 80 default_server;
listen [::]:80 default_server;
# uncomment for https support
# listen 443 ssl;
# listen [::]:443 ssl;
server_name _;
# uncomment for https support
# IMPORTANT: you should issue certificate (public.pem and and private.pem) first
# ssl_certificate /etc/nginx/ssl/public.pem;
# ssl_certificate_key /etc/nginx/ssl/private.pem;
location proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location /suggestions/ {
proxy_pass http://localhost:8080/suggestions/;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
} |
...
Обзор
Инструменты контента