%PDF- %PDF-
Direktori : /proc/self/root/etc/ansible/roles/push-server/templates/ |
Current File : //proc/self/root/etc/ansible/roles/push-server/templates/nginx-rtc-server.conf.j2 |
# {{ ansible_managed }} server { listen 8895 default_server; server_name _; # access_log /var/log/nginx/access.log main buffer=64k; # access_log /dev/shm/access.log simple; # error_log /var/log/nginx/error.log warn; access_log off; add_header "X-Content-Type-Options" "nosniff"; location /server-stat { access_log off; proxy_pass http://nodejs_pub; } location /nginx_status { stub_status on; } location {{ nodejs_pub }} { # IM doesn't wait proxy_ignore_client_abort on; proxy_pass http://nodejs_pub; } include bx/conf/im_subscrider.conf; location / { deny all; } } server { listen 8893; listen 8894 default_server ssl; access_log off; add_header Access-Control-Allow-Origin *; server_name _; # ssl settings include bx/conf/ssl.conf; # Include error handlers include bx/conf/errors.conf; # Include im subscrider handlers include bx/conf/im_subscrider.conf; location / { deny all; } }