bepasty: New app for file upload and sharing

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy authored and Joseph Nuthalapati committed 2020-08-21 21:50:38 +05:30
1 parent 66537b1f9c
commit 7edc2f4e13
17 files changed
+738

No files matched your search

@@ -0,0 +1,16 @@
##
## On all sites, provide bepasty on a path: /bepasty
##
# Redirect /bepasty to /bepasty/
<Location ~ ^/bepasty$>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/bepasty$
RewriteRule .* /bepasty/ [R=301,L]
</IfModule>
</Location>
<Location /bepasty/>
ProxyPass unix:/run/uwsgi/app/bepasty-freedombox/socket|uwsgi://bepasty/
</Location>