Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
92a61b8
Allow custom Nginx external ports
c-gabri Sep 27, 2025
3b68110
Document custom Nginx external ports
c-gabri Sep 27, 2025
d5e7985
Change NGINX_80_PORT to NGINX_PORT
c-gabri Sep 27, 2025
b95cd48
Correct documentation for NGINX_SSL_PORT and NGINX_PORT
c-gabri Sep 27, 2025
c5c2bac
Format documentation with openwisp-qa-format
c-gabri Sep 27, 2025
b519d25
Merge branch 'master' into master
nemesifier Sep 29, 2025
3ad22cc
Add default values for NGINX_PORT and NGINX_SSL_PORT
c-gabri Sep 30, 2025
a5b8473
Add NGINX_PORT and NGINX_SSL_PORT build args to docker-compose.yml
c-gabri Oct 1, 2025
62d6dc6
Add NGINX_SSL_PORT build arg to nginx Dockerfile
c-gabri Oct 1, 2025
c77682c
Remove unnecessary NGINX_PORT build arg from docker-compose.yml
c-gabri Oct 1, 2025
3befcb9
Add NGINX_SSL_PORT to HTTP->HTTPS redirect
c-gabri Oct 1, 2025
0936668
Add NGINX_SSL_PORT to Content-Security-Policy header
c-gabri Oct 1, 2025
1738344
Add custom Nginx ports to CORS_ALLOWED_ORIGINS
c-gabri Oct 1, 2025
9ab464e
Add custom Nginx ports to API_BASEURL
c-gabri Oct 1, 2025
7d246f6
Make CORS_ALLOWED_ORIGINS work also with default Nginx ports
c-gabri Oct 1, 2025
02ff809
Make custom Nginx ports work with SSL_CERT_MODE=External
c-gabri Oct 1, 2025
06cd12f
Improve documentation for non-default Nginx ports
c-gabri Oct 1, 2025
48f944a
Reformat settings.rst with openwisp-qa-format
c-gabri Oct 1, 2025
d2fef47
Remove unnecessary build arg NGINX_SSL_PORT
c-gabri Oct 2, 2025
671ce02
Make it optional to set Nginx ports in .env
c-gabri Oct 2, 2025
93086af
[fix] Reformat with openwisp-qa-format #496
c-gabri Oct 2, 2025
bdbd5ac
Merge remote-tracking branch 'upstream/master'
c-gabri Oct 5, 2025
0e1c1ec
Merge branch 'master' into master
nemesifier Oct 7, 2025
967d44f
Merge branch 'master' into master
nemesifier Oct 9, 2025
bea9b25
[chores] Fixed minor QA issue
nemesifier Oct 9, 2025
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
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ services:
- dashboard.internal
- api.internal
ports:
- "80:80"
- "443:443"
- "${NGINX_80_PORT:-80}:80"
- "${NGINX_SSL_PORT:-443}:443"
depends_on:
- dashboard
- api
Expand Down
20 changes: 20 additions & 0 deletions docs/user/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,26 @@ Nginx
- **Example:** ``index index.html index.htm;``.
- **Default:** ``""`` (empty string).

``NGINX_SSL_PORT``
~~~~~~~~~~~~~~~~~~~~

- **Explanation:** Nginx container external port. Useful to set if, for
example, OpenWISP is going to run behind a reverse proxy listening on
the default port on the same host. This variable is only applicable when
``SSL_CERT_MODE`` is ``Yes`` or ``SelfSigned``.
- **Valid Values:** ``INTEGER``.
- **Default:** ``443``.

``NGINX_80_PORT``
~~~~~~~~~~~~~~~~~~~~

- **Explanation:** Nginx container external port. Useful to set if, for
example, OpenWISP is going to run behind a reverse proxy listening on
the default port on the same host. This variable is only applicable when
``SSL_CERT_MODE`` is ``False``.
- **Valid Values:** ``INTEGER``.
- **Default:** ``80``.

``NGINX_GZIP_SWITCH``
~~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading