Skip to content

Commit

Permalink
add xmpp-upload. and muc. server_name only if xmpp_enabled is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kay0u committed Jan 23, 2023
1 parent 5a412ce commit c444dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/nginx/server.tpl.conf
Expand Up @@ -6,7 +6,7 @@ map $http_upgrade $connection_upgrade {
server {
listen 80;
listen [::]:80;
server_name {{ domain }}{% if xmpp_enabled != "True" %} xmpp-upload.{{ domain }} muc.{{ domain }}{% endif %};
server_name {{ domain }}{% if xmpp_enabled == "True" %} xmpp-upload.{{ domain }} muc.{{ domain }}{% endif %};

access_by_lua_file /usr/share/ssowat/access.lua;

Expand Down

0 comments on commit c444dee

Please sign in to comment.