File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,40 @@ server {
7070 }
7171
7272listen 80;
73+ }
74+
75+ server {
76+
77+ root /var/www/html;
78+
79+ # Add index.php to the list if you are using PHP
80+ index index.html index.htm index.nginx-debian.html;
81+
82+ server_name tiles.cloudtak.anhangueramilsim.com.br; # <------- Change this to your FQDN
83+
84+ location / {
85+
86+
87+ proxy_pass http://localhost:5002;
88+ proxy_ssl_verify off;
89+ proxy_ssl_session_reuse on;
90+ proxy_buffering off;
91+ proxy_set_header Upgrade $http_upgrade;
92+ proxy_set_header Connection "upgrade";
93+ proxy_set_header Referer $scheme://$host/;
94+ #proxy_hide_header Authorization;
95+ #proxy_set_header Referer '';
96+ #proxy_set_header Origin '';
97+ #proxy_set_header Origin '$http_origin' ;
98+ #proxy_set_header Origin 'http://localhost:5002';
99+ #add_header 'Access-Control-Allow-Origin' '*';
100+ #add_header 'Access-Control-Allow-Headers' 'Content-Type';
101+
102+ }
103+
104+ listen 80;
105+
106+
73107}
74108```
75109
You can’t perform that action at this time.
0 commit comments