From dfa3140da8e25496632e4f58776cf635cabee4e7 Mon Sep 17 00:00:00 2001 From: alexandredevely <12896316+alexandredevely@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:19:26 +0200 Subject: [PATCH] change hostname --- etc/nginx/sites-enabled/default | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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";