0
点赞
收藏
分享

微信扫一扫

nginx的配置 包含WAR HALO UPTIME protainer Stirling-PDF

洒在心头的阳光 2023-11-29 阅读 42

我的所有配置nginx

vim /etc/nginx/conf.d/halo+protainer.conf

server {
       listen       80;
       server_name  www.guoguogood.top;

       #charset koi8-r;
       #access_log  logs/host.access.log  main;
       location / {

           index  info.php index.html index.htm;

                proxy_pass http://127.0.0.1:8090;
       }
}




server {
       listen       80;
       server_name  pdf.guoguogood.top;

       #charset koi8-r;
       #access_log  logs/host.access.log  main;
       location / {

           index  info.php index.html index.htm;

                proxy_pass http://172.17.0.5:8080;
       }
}







server {
       listen       80;
       server_name  draw.guoguogood.top;

       #charset koi8-r;
       #access_log  logs/host.access.log  main;
	
	location / {
	index  info.php index.html index.htm;

                proxy_pass http://172.17.0.6:8080;
       }
}







server {
       listen       80;
       server_name  protainer.guoguogood.top;

       #charset koi8-r;
       #access_log  logs/host.access.log  main;
       location / {

           index  info.php index.html index.htm;

                proxy_pass http://127.0.0.1:9000;
       }
}

server {
       listen       80;
       server_name  uptime.guoguogood.top;

       #charset koi8-r;
       #access_log  logs/host.access.log  main;
       location / {

           index  info.php index.html index.htm;

	proxy_set_header X-Real-IP $remote_addr;
	proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
	proxy_pass http://127.0.0.1:3001/;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
}
}

举报

相关推荐

0 条评论