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 [2022/09/25 20:13]
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;
-        server_name webd.corp13.un;+        server_name webd.corpX.un;
  
         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/​;
         }         }
     }     }
сервис_http.txt · Last modified: 2024/04/26 12:08 by val