mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 09:52:38 +02:00
16 lines
494 B
Markdown
16 lines
494 B
Markdown
# Using Nginx as reverse proxy
|
||
|
||
Here is a example for Nginx configuration:
|
||
```{literalinclude} ../../conf/nginx.conf
|
||
---
|
||
caption: /etc/nginx/sites-available/argos.example.org
|
||
---
|
||
```
|
||
|
||
If you want to use Argos under a subdirectory of your web server, you’ll need to set the `root_path` setting in Argos’s [configuration](../configuration.md) and set Nginx like this:
|
||
|
||
```{literalinclude} ../../conf/nginx-subdirectory.conf
|
||
---
|
||
caption: Nginx’s location for Argos in a subdirectory
|
||
---
|
||
```
|