This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервис_http [2024/03/14 15:19] val [Прокси "красивого" URL в приложение (пример 3)] |
сервис_http [2024/04/26 12:08] val [CentOS] |
||
---|---|---|---|
Line 87: | Line 87: | ||
==== CentOS ==== | ==== CentOS ==== | ||
- | * Сервис Firewall [[Сервис Firewall#CentOS 7]] | + | * Сервис Firewall [[Сервис Firewall#CentOS]] |
<code> | <code> | ||
Line 1031: | Line 1031: | ||
proxy_pass http://192.168.13.64; | proxy_pass http://192.168.13.64; | ||
- | proxy_set_header Host $host; | + | # proxy_set_header Host $host; |
- | proxy_set_header X-Forwarded-For $remote_addr; | + | # proxy_set_header X-Forwarded-For $remote_addr; |
# proxy_set_header X-Forwarded-Proto $scheme; | # proxy_set_header X-Forwarded-Proto $scheme; |