Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosmetics nginx sample config #3385

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/nginx/dendrite-sample.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#change IP to location of monolith server
upstream monolith{
# change IP to location of monolith server
upstream monolith {
server 127.0.0.1:8008;
}
server {
Expand All @@ -20,8 +20,9 @@ server {
}

location /.well-known/matrix/client {
# If your sever_name here doesn't match your matrix homeserver URL
# If your server_name here doesn't match your matrix homeserver URL
# (e.g. hostname.com as server_name and matrix.hostname.com as homeserver URL)
# uncomment the following line.
# add_header Access-Control-Allow-Origin '*';
return 200 '{ "m.homeserver": { "base_url": "https://my.hostname.com" } }';
}
Expand Down