3
2
forked from Dniel97/artemis

update prod.md

This commit is contained in:
Hay1tsme 2024-01-14 17:46:52 -05:00
parent a3b1d07c73
commit f41eb907ef
2 changed files with 7 additions and 3 deletions

View File

@ -13,9 +13,13 @@ Step 1 is to edit your artemis configuration. Some recomended changes:
- `allow_unregistered_serials` -> `False` - `allow_unregistered_serials` -> `False`
### `billing` ### `billing`
- `standalone` -> `False` - `standalone` -> `False`
### `allnet`
- `standalone` -> `False`
### `frontend` ### `frontend`
- `enable` -> `True` if you want the 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 If you plan to serve artemis behind a VPN, these additional settings are also recomended
- `check_arcade_ip` -> `True` - `check_arcade_ip` -> `True`

View File

@ -74,7 +74,7 @@ server {
location / { location / {
return 301 https://$host$request_uri; 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 # 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 / { location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_request_headers on; proxy_pass_request_headers on;
proxy_pass http://127.0.0.1:8080/; proxy_pass http://127.0.0.1:8090/;
} }
} }