Skip to content

Commit

Permalink
change hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely committed Apr 24, 2024
1 parent 2cf927c commit dfa3140
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions etc/nginx/sites-enabled/default
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit dfa3140

Please sign in to comment.