Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- # не взирая на то, какой порт торчит наружу, nginx внутрях будет по 80 работать
- listen 443 ssl;
- server_name HOSTNAME;
- access_log /var/log/nginx/sdld.log;
- ssl on;
- ssl_certificate /opt/cert/private.crt;
- ssl_certificate_key /opt/cert/private.key;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header Host $http_host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_buffers 8 32k;
- proxy_buffer_size 64k;
- location /teleradiology {
- proxy_pass http://tele$request_uri;
- resolver 127.0.0.11;
- proxy_read_timeout 1200;
- proxy_connect_timeout 1200;
- }
- location /cami {
- proxy_pass http://cami$request_uri;
- resolver 127.0.0.11;
- proxy_read_timeout 1200;
- proxy_connect_timeout 1200;
- }
- location /camiapi {
- proxy_pass http://cami$request_uri;
- resolver 127.0.0.11;
- proxy_read_timeout 1200;
- proxy_connect_timeout 1200;
- }
- location /oauth {
- proxy_pass http://oauth$request_uri;
- resolver 127.0.0.11;
- proxy_read_timeout 1200;
- proxy_connect_timeout 1200;
- }
- location /configservice {
- proxy_pass http://configservice$request_uri;
- resolver 127.0.0.11;
- proxy_buffers 8 32k;
- proxy_buffer_size 64k;
- }
- # it is need to refactor
- location /birt {
- proxy_pass http://127.0.0.1:8002$request_uri;
- proxy_read_timeout 1200;
- proxy_connect_timeout 1200;
- }
- # it is need to refactor
- location /weasis-pacs-connector {
- proxy_pass http://192.168.3.52:8080/weasis-pacs-connector;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header Host $http_host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- # it is need to refactor
- location /oviyam {
- proxy_pass http://192.168.3.52:8084/oviyam;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header Host $http_host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- # it is need to refactor
- location /wado {
- proxy_pass http://192.168.3.52:8081/wado;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header Host $http_host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- location =/iviewer/ {
- root /opt/sdld/;
- }
- location / {
- rewrite ^.* http://HOSTNAME/cami permanent;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement