123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- worker_processes 1;
- events {
- worker_connections 1024;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
-
-
-
- access_log logs/access.log;
- sendfile on;
-
-
- keepalive_timeout 65;
-
- server {
- listen 8042;
- server_name localhost;
-
-
- location / {
- root html;
- index index.html index.htm;
- }
-
-
-
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root html;
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- }
- server {
- listen 8002;
- server_name lims_frontend;
-
-
-
- location / {
- root /usr/share/nginx/html;
- index index.html index.htm;
- try_files $uri $uri/ /index,html;
- }
-
- location /api {
-
- proxy_pass http://172.26.0.14:8003/api;
- proxy_read_timeout 120s;
- proxy_connect_timeout 180s;
- proxy_send_timeout 180s;
- client_max_body_size 200m;
- }
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- }
|