Skip to content

Commit 666cda1

Browse files
committed
Added CloudTAK Tiles nginx config
1 parent 3beeb1b commit 666cda1

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/cloudtak.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,40 @@ server {
7070
}
7171
7272
listen 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

0 commit comments

Comments
 (0)