mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
19 lines
557 B
Markdown
19 lines
557 B
Markdown
---
|
||
description: How to configure Nginx to use with Argos.
|
||
---
|
||
# 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
|
||
---
|
||
```
|