This commit is contained in:
gardouille 2020-03-10 20:49:14 +01:00
parent e5aa3ee25f
commit a9bf5b9a0a
Signed by: gardouille
GPG Key ID: E759BAA22501AF32

View File

@ -2,7 +2,7 @@ The Null Pointer
================ ================
This is a no-bullshit file hosting and URL shortening service that also runs This is a no-bullshit file hosting and URL shortening service that also runs
`envs.sh <https://envs.sh>`_. Use with uWSGI. `null.101010.fr <https://null.101010.fr>`_. Use with uWSGI.
If you are running nginx, you should use the ``X-Accel-Redirect`` header. If you are running nginx, you should use the ``X-Accel-Redirect`` header.
To make it work, include this in your nginx configs ``server`` block:: To make it work, include this in your nginx configs ``server`` block::
@ -51,7 +51,7 @@ INSTALL
apt update apt update
apt install python3-pip nginx uwsgi uwsgi-plugin-python3 certbot apt install python3-pip nginx uwsgi uwsgi-plugin-python3 certbot
git clone https://github.com/envs-net/0x0.git /srv/0x0 git clone https://git.101010.fr/101010/0x0 /srv/0x0
cd /srv/0x0 cd /srv/0x0
pip3 install --user `cat requirements.txt` pip3 install --user `cat requirements.txt`