Don't fail on first run, when Tor hostname missing

This commit is contained in:
2021-01-13 09:49:03 +01:00
parent 4d0259493f
commit 9d13acd41a
2 changed files with 5 additions and 1 deletions

View File

@@ -1,8 +1,10 @@
<% if @onion_address %>
server {
listen 80;
server_name mastodon.<%= @onion_address %>;
include <%= @shared_config_path %>;
}
<% end %>
map $http_upgrade $connection_upgrade {
default upgrade;