meta-chat.conf 843 B

12345678910111213141516171819202122232425262728293031
  1. ##
  2. # You should look at the following URL's in order to grasp a solid understanding
  3. # of Nginx configuration files in order to fully unleash the power of Nginx.
  4. # https://www.nginx.com/resources/wiki/start/
  5. # https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
  6. # https://wiki.debian.org/Nginx/DirectoryStructure
  7. #
  8. # In most cases, administrators will remove this file from sites-enabled/ and
  9. # leave it as reference inside of sites-available where it will continue to be
  10. server {
  11. listen 83 default_server;
  12. listen [::]:83 default_server;
  13. root /game/web/meta;
  14. index index.html index.htm index.nginx-debian.html;
  15. server_name _;
  16. location / {
  17. proxy_pass http://dev.ic1101.world:9999;
  18. proxy_http_version 1.1;
  19. proxy_set_header Upgrade $http_upgrade;
  20. proxy_set_header Connection "Upgrade";
  21. }
  22. }