This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
сервис_http [2022/09/25 20:14] val [NGINX] |
сервис_http [2022/09/26 05:29] val [NGINX] |
||
---|---|---|---|
Line 895: | Line 895: | ||
</code><code> | </code><code> | ||
root@server# cat /var/opt/gitlab/nginx/conf/my.conf | root@server# cat /var/opt/gitlab/nginx/conf/my.conf | ||
+ | root@server.corp13.un:~# cat /var/opt/gitlab/nginx/conf/my.conf | ||
server { | server { | ||
listen 80; | listen 80; | ||
Line 900: | Line 901: | ||
location / { | location / { | ||
- | proxy_pass http://192.168.49.2:30111; | + | proxy_pass http://192.168.49.2:30111/; |
+ | } | ||
+ | } | ||
+ | server { | ||
+ | listen 80; | ||
+ | server_name mail.corpX.un; | ||
+ | |||
+ | location / { | ||
+ | proxy_pass http://server.corpX.un:81/mail/; | ||
} | } | ||
} | } | ||
- | |||
</code><code> | </code><code> | ||
root@server# cat /var/opt/gitlab/nginx/conf/nginx.conf | root@server# cat /var/opt/gitlab/nginx/conf/nginx.conf |