From f41eb907ef97a1a22cd80ad19d7b5e76567ae1ef Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sun, 14 Jan 2024 17:46:52 -0500 Subject: [PATCH] update prod.md --- docs/prod.md | 6 +++++- example_config/nginx_example.conf | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/prod.md b/docs/prod.md index 31efe8c..c398061 100644 --- a/docs/prod.md +++ b/docs/prod.md @@ -13,9 +13,13 @@ Step 1 is to edit your artemis configuration. Some recomended changes: - `allow_unregistered_serials` -> `False` ### `billing` - `standalone` -> `False` +### `allnet` +- `standalone` -> `False` ### `frontend` - `enable` -> `True` if you want the frontend -- `port` -> `8080` if you're using the default nginx config +- `port` -> `8090` if you're using the default nginx config, otherwise whatever port your proxy will be sending requests to +### `aimedb` +- `listen_address` -> `0.0.0.0` unless you're proxying aimedb requests (not recomended at this time), in which case, leave this option unchanged If you plan to serve artemis behind a VPN, these additional settings are also recomended - `check_arcade_ip` -> `True` diff --git a/example_config/nginx_example.conf b/example_config/nginx_example.conf index 6f970ce..b01a822 100644 --- a/example_config/nginx_example.conf +++ b/example_config/nginx_example.conf @@ -74,7 +74,7 @@ server { location / { return 301 https://$host$request_uri; # If you don't want https redirection, or are using something like cloudflare to manage HTTPS, comment out the line above and uncomment the line below - # proxy_pass http://127.0.0.1:8080/; + # proxy_pass http://127.0.0.1:8090/; } } @@ -100,6 +100,6 @@ server { location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass_request_headers on; - proxy_pass http://127.0.0.1:8080/; + proxy_pass http://127.0.0.1:8090/; } }