Last active
July 12, 2020 15:41
-
-
Save captainGeech42/3019472646a100477c932e7c5a1a7c16 to your computer and use it in GitHub Desktop.
NGINX config for onion mirror
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 127.0.0.1:8080; | |
# Update this for your actual webroot | |
root /var/www/html; | |
index index.html | |
server_name _; | |
location / { | |
try_files $uri $uri/ =404; | |
} | |
access_log /var/log/nginx/access.tor.log; | |
error_log /var/log/nginx/error.tor.log; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment