forked from Hay1tsme/artemis
update prod.md
This commit is contained in:
parent
a3b1d07c73
commit
f41eb907ef
@ -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`
|
||||||
|
@ -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/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user