User Tools

Site Tools


сервис_http

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
сервис_http [2023/01/22 20:35]
val [Прокси "красивого" URL в приложение (пример 3)]
сервис_http [2023/03/25 15:21]
val [Прокси "красивого" URL в приложение (пример 3)]
Line 936: Line 936:
 # host webd # host webd
 # host www # host www
 +# host autoconfig
 # host corpX.un # host corpX.un
 ... has address 192.168.X.10 ... has address 192.168.X.10
Line 955: Line 956:
         location / {         location / {
             proxy_pass http://​server.corpX.un:​81/​mail/;​             proxy_pass http://​server.corpX.un:​81/​mail/;​
 +#            proxy_pass http://​gate.corpX.un:​81/​mail/;​
         }         }
     }     }
Line 965: Line 967:
         }         }
     }     }
 +#    server {
 +#        listen 80;
 +#        server_name autoconfig.corpX.un;​
 +#        location / {
 +#            proxy_pass http://​gate.corpX.un:​81/;​
 +#        }
 +#    }
 </​code><​code>​ </​code><​code>​
-root@server# ​cat /​var/​opt/​gitlab/​nginx/​conf/​nginx.conf+# cat /​etc/​gitlab/​gitlab.rb 
 +</​code><​code>​ 
 +... 
 +nginx['​custom_nginx_config'​] = "​include /​var/​opt/​gitlab/​nginx/​conf/​corpX.conf;"​ 
 +... 
 +</​code>​ 
 +  * [[Инструмент GitLab#​Проверка конфигурации и перезапуск]] 
 +<​code>​ 
 +root@server# ​less /​var/​opt/​gitlab/​nginx/​conf/​nginx.conf
 </​code><​code>​ </​code><​code>​
 ... ...
сервис_http.txt · Last modified: 2024/05/24 09:20 by val