第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

在windows里如何配置nginx

在windows里如何配置nginx

TM_tomato 2016-02-16 09:55:33
最近在用nodejs+express做服務(wù)器,用nginx做反向代理,服務(wù)器部分功能已經(jīng)完成,但是nginx的反向代理一直不行。在Linux中設(shè)置的nginx反向代理可以。設(shè)置如下:望大神賜教。upstream locale{? ? server ?127.0.0.1:4990;}server {? ? server_name ? ? ? ? ? ? ? ? locale.frontend.ucloud.cn;? ? listen 80;? ? listen 443 ssl;? ? keepalive_timeout ? 75;? ? ssl_certificate ssl/wildcard/server.crt;? ? ssl_certificate_key ssl/wildcard/server.key;? ? location ~* /.*\.(js|gif|png|map|jpg|css|jpegcss|swf|ico|txt|html|less|jar|tpl|tgz|woff|tff|json)$ {? ? ? ? root ? ? ? ? ? ? ? ? ? ?/data/miedo/locale/client;? ? }? ? location / {? ? ? ? root ? ? ? ? ? ? ? ? ? ?/data/miedo/locale/client;? ? ? ? index ? ? ? ? ? ? ? ? ? /index.html;? ? ? ? try_files ? ? ? ? ? ? ? $uri $uri/ /index.html;? ? }? ? proxy_set_header ? ? ? ? ? ?Host ? ? ? $host;? ? proxy_set_header ? ? ? ? ? ?X-Forwarded-Proto https;}server {? ? server_name ? ? ? ? ? ? ? ? locale.api.frontend.ucloud.cn;? ? listen 80;? ? listen 443 ssl;? ? keepalive_timeout ? 75;? ? ssl_certificate ssl/wildcard/server.crt;? ? ssl_certificate_key ssl/wildcard/server.key;? ? location / {? ? ? ? proxy_set_header ? ? ? ? ? ?Host ? ? ? $host;? ? ? ? proxy_set_header ? ? ? ? ? ?X-Forwarded-Proto https;? ? ? ? proxy_pass ? ? ? ? ? ? ?http://locale;? ? }? ? proxy_set_header ? ? ? ? ? ?Host ? ? ? $host;? ? proxy_set_header ? ? ? ? ? ?X-Forwarded-Proto https;}
查看完整描述

1 回答

  • 1 回答
  • 1 關(guān)注
  • 1510 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號