12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- worker_processes 1;
- events {
- worker_connections 1024;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- sendfile on;
- proxy_buffer_size 128k;
- proxy_buffers 32 128k;
- proxy_busy_buffers_size 128k;
- keepalive_timeout 65;
- server {
- listen 81;
- server_name localhost;
-
- location /Bug {
- proxy_pass http://127.0.0.1:8091;
- }
- location ^~ /dashboard/ {
- proxy_pass http://localhost:6666;
- }
- location ^~ /static/ {
- proxy_pass http://localhost:6666;
- }
- location /QC {
- proxy_pass http://127.0.0.1:8080;
- }
- location ^~ /document/ {
- alias /back_end/document/;
- index index.html;
- autoindex on;
- autoindex_exact_size off;
- }
- location ^~ /resourceXinchuang/ {
- alias /Users/hannatao/Downloads/;
- index index.html;
- autoindex on;
- autoindex_exact_size off;
- }
- location / {
- proxy_pass http://localhost:5555;
-
- }
- }
- server {
- listen 5555;
- server_name localhost;
- location / {
- root /front_end/prod/;
- index index.html;
- try_files $uri $uri/ /index.html;
- }
- }
- server {
- listen 6666;
- server_name localhost;
- location / {
- root /databoard/dist/;
- index index.html;
- try_files $uri $uri/ /index.html;
- }
- }
- }
|