classroomhub nginx ayarlar
This commit is contained in:
parent
51f2c976bf
commit
2b7b397f4e
1 changed files with 11 additions and 0 deletions
|
|
@ -79,6 +79,17 @@ server {
|
|||
ignore_invalid_headers off;
|
||||
large_client_header_buffers 4 16k;
|
||||
|
||||
# SignalR için özel ayar
|
||||
location /classroomhub {
|
||||
proxy_pass http://127.0.0.1:8080/classroomhub;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_read_timeout 3600;
|
||||
proxy_send_timeout 3600;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8080/;
|
||||
include /etc/nginx/proxy_params;
|
||||
|
|
|
|||
Loading…
Reference in a new issue