diff --git a/etc/nginx/sites-enabled/default b/etc/nginx/sites-enabled/default index 2f88a0f..dd0c2bf 100644 --- a/etc/nginx/sites-enabled/default +++ b/etc/nginx/sites-enabled/default @@ -124,11 +124,11 @@ server { set $spawner_service_tcp_port 29786; set $signalling_service_tcp_port 29787; - # use env var - set_by_lua $my_speedtest 'return os.getenv("SPEEDTEST_FQDN")'; - set_by_lua $my_proxy 'return os.getenv("PYOS_FQDN")'; - set_by_lua $my_console 'return os.getenv("CONSOLE_FQDN")'; - set_by_lua $my_website 'return os.getenv("WEBSITE_FQDN")'; + # use var get hostname + set $my_speedtest 'speedtest'; + set $my_proxy 'pyos'; + set $my_console 'console'; + set $my_website 'website'; #add header add_header X-Frame-Options "SAMEORIGIN";