Fixed error in swag configuration stanza

This commit is contained in:
chimiana 2022-12-13 03:47:29 +00:00 committed by Gitea
parent 20be880f51
commit 08b727874f

View file

@ -51,7 +51,7 @@ server {
location / { location / {
include /config/nginx/proxy.conf; include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf; include /config/nginx/resolver.conf;
set $upstream_app chimkey_web_1; set $upstream_app calckey_web_1;
set $upstream_port 3000; set $upstream_port 3000;
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
@ -59,7 +59,7 @@ server {
} }
} }
``` ```
Note: Make sure you set `server_name` in the above to your domain. Note: Make sure you set `server_name` in the above to your domain, and `$upstream_app` to the name for your calckey container.
Once you bring up both the `swag` reverse proxy container with the above configuration, and the `calckey` containers, you should be serving your instance and be able to browse to it at `https://yourdomain.whatever`. Once you bring up both the `swag` reverse proxy container with the above configuration, and the `calckey` containers, you should be serving your instance and be able to browse to it at `https://yourdomain.whatever`.
@ -68,4 +68,4 @@ If you decide to enable `elasticsearch`, you can uncomment the configuration lin
This is disabled by default, as it uses a great deal of server memory and can increase the load for your instance significantly. It is unlikely that you will need to enable this for a small server, and if you are running a giant server then you probably do not need this `README` to begin with. This is disabled by default, as it uses a great deal of server memory and can increase the load for your instance significantly. It is unlikely that you will need to enable this for a small server, and if you are running a giant server then you probably do not need this `README` to begin with.
## Enjoy being a fediverse server admin ## Enjoy being a fediverse server admin