Moved commen nginx configuration in a dedicated snippet
This commit is contained in:
parent
eef2ff3f9a
commit
1955005a4f
3 changed files with 18 additions and 17 deletions
|
|
@ -59,10 +59,11 @@ Ensure you have a recent version of nginx on your server. On debian-like system,
|
|||
apt-get update
|
||||
apt-get install nginx
|
||||
|
||||
Then, download our sample virtualhost file:
|
||||
Then, download our sample virtualhost file and proxy conf:
|
||||
|
||||
.. parsed-literal::
|
||||
|
||||
curl -L -o /etc/nginx/funkwhale_proxy.conf "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/funkwhale_proxy.conf"
|
||||
curl -L -o /etc/nginx/sites-enabled/funkwhale.conf "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/nginx.conf"
|
||||
|
||||
Ensure static assets and proxy pass match your configuration, and check the configuration is valid with ``nginx -t``. If everything is fine, you can restart your nginx server with ``service nginx restart``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue