Skip to content

Instantly share code, notes, and snippets.

@captainGeech42
Last active July 12, 2020 15:41
Show Gist options
  • Save captainGeech42/3019472646a100477c932e7c5a1a7c16 to your computer and use it in GitHub Desktop.
Save captainGeech42/3019472646a100477c932e7c5a1a7c16 to your computer and use it in GitHub Desktop.
NGINX config for onion mirror
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