mirror of
https://git.reisber.space/Reisber/Personal
synced 2026-04-01 15:14:35 +00:00
@@ -204,8 +204,7 @@ nano /etc/nginx/sites-available/sunstone.conf
|
||||
И вставим туда
|
||||
```
|
||||
server {
|
||||
listen 80;
|
||||
server_name pu-pu-pu-pu-pu-pu.domain.com;
|
||||
server_name nebula.reisber.space;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:9869;
|
||||
@@ -218,7 +217,26 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_read_timeout 3600;
|
||||
proxy_send_timeout 3600;
|
||||
|
||||
proxy_request_buffering off;
|
||||
proxy_buffering off;
|
||||
|
||||
}
|
||||
location /fireedge/ {
|
||||
proxy_pass http://127.0.0.1:2617; # порт FireEdge
|
||||
proxy_http_version 1.1;
|
||||
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
|
||||
proxy_read_timeout 3600;
|
||||
proxy_send_timeout 3600;
|
||||
|
||||
proxy_buffering off;
|
||||
}
|
||||
}
|
||||
```
|
||||
Сохраним и проверим наш конфиг, а так-же растартнем nginx
|
||||
|
||||
Reference in New Issue
Block a user