243 lines
5.8 KiB
Plaintext
243 lines
5.8 KiB
Plaintext
server {
|
|
listen 80;
|
|
server_name jira.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.129:8018/;
|
|
add_header Access-Control-Allow-Origin *;
|
|
add_header Access-Control-Allow-Headers X-Requested-With;
|
|
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
|
|
proxy_redirect off;
|
|
client_max_body_size 10m;
|
|
client_body_buffer_size 128k;
|
|
proxy_buffers 32 4k;
|
|
proxy_connect_timeout 600;
|
|
proxy_send_timeout 600;
|
|
proxy_read_timeout 600;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name itsm.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location /WW_verify_TWp375Kzd79EfP0l.txt {
|
|
default_type text/html;
|
|
return 200 "TWp375Kzd79EfP0l";
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.200:8013/;
|
|
add_header Access-Control-Allow-Origin *;
|
|
add_header Access-Control-Allow-Headers X-Requested-With;
|
|
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
|
|
proxy_redirect off;
|
|
client_max_body_size 10m;
|
|
client_body_buffer_size 128k;
|
|
proxy_buffers 32 4k;
|
|
proxy_connect_timeout 600;
|
|
proxy_send_timeout 600;
|
|
proxy_read_timeout 600;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name wiki.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.1.101:8081;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
client_max_body_size 200m;
|
|
proxy_read_timeout 86400s;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_buffering off;
|
|
proxy_cache off;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name vote.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.124:8089;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
client_max_body_size 200m;
|
|
proxy_read_timeout 86400s;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_buffering off;
|
|
proxy_cache off;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name jira.sinoassist.com;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.129:10880/;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 1180;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.140:8018/;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name harbor.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.129:8082/;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name docker-mirror.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.129:5000/;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name git.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.129:3000/;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name maven.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.129:8081/;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name api-doc.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.129:7700/;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name hr.sinoassist.com;
|
|
|
|
include /etc/nginx/ssl.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.3.200:8012;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name training.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.1.226:8090;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name csc.sino-assist.com;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.1.161:8011;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name file.sino-assist.com;
|
|
|
|
include /etc/nginx/ssl.sino_assist.conf;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.1.171:8088/;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
if ($request_filename ~ .*\.(htm|html)$) {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|
|
}
|