Nginx
From Kicksecure
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation for this is incomplete. Contributions are happily considered! See this for potential alternatives.
Contents
/etc/tor/torrc[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Ftor.2Ftorrc
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Nginx#.2Fetc.2Ftor.2Ftorrc|/etc/tor/torrc]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[/etc/tor/torrc](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Ftor.2Ftorrc)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[/etc/tor/torrc](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Ftor.2Ftorrc)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Ftor.2Ftorrc]/etc/tor/torrc[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
HiddenServiceDir /var/lib/tor-instances/onionv3/onionv3/ HiddenServiceVersion 3 ## web HiddenServicePort 80 127.0.0.1:70
/etc/nginx/conf.d/hsts[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fconf.d.2Fhsts
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Nginx#.2Fetc.2Fnginx.2Fconf.d.2Fhsts|/etc/nginx/conf.d/hsts]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[/etc/nginx/conf.d/hsts](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fconf.d.2Fhsts)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[/etc/nginx/conf.d/hsts](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fconf.d.2Fhsts)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fconf.d.2Fhsts]/etc/nginx/conf.d/hsts[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
## HSTS settings
/etc/nginx/sites-available/00100.conf[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fsites-available.2F00100.conf
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Nginx#.2Fetc.2Fnginx.2Fsites-available.2F00100.conf|/etc/nginx/sites-available/00100.conf]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[/etc/nginx/sites-available/00100.conf](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fsites-available.2F00100.conf)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[/etc/nginx/sites-available/00100.conf](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fsites-available.2F00100.conf)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fsites-available.2F00100.conf]/etc/nginx/sites-available/00100.conf[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
## default_server, apex domain (non-subdomain) or invalid subdomain catch-all ## redirect plaintext clearnet non-subdomain to TLS non-subdomain server { listen 80 default_server; listen [::]:80 default_server; return 301 https://kicksecure.com$request_uri; } ## redirect TLS clearnet non-subdomain to TLS www subdomain server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server; ssl_certificate /etc/letsencrypt/live/kicksecure.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/kicksecure.com/privkey.pem; ssl_trusted_certificate /etc/letsencrypt/live/kicksecure.com/fullchain.pem; include /etc/nginx/conf.d/hsts; return 301 https://www.kicksecure.com$request_uri; } ## redirect onion non-subdomain to www subdomain server { listen 127.0.0.1:70; server_name w5j6stm77zs6652pgsij4awcjeel3eco7kvipheu6mtr623eyyehj4yd.onion; return 301 http://www.w5j6stm77zs6652pgsij4awcjeel3eco7kvipheu6mtr623eyyehj4yd.onion$request_uri; }
/etc/nginx/sites-available/www.conf[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fsites-available.2Fwww.conf
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Nginx#.2Fetc.2Fnginx.2Fsites-available.2Fwww.conf|/etc/nginx/sites-available/www.conf]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[/etc/nginx/sites-available/www.conf](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fsites-available.2Fwww.conf)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[/etc/nginx/sites-available/www.conf](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fsites-available.2Fwww.conf)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fsites-available.2Fwww.conf]/etc/nginx/sites-available/www.conf[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
## http clearnet port 80 unencrypted listener server { listen 80; listen [::]:80; server_name www.kicksecure.com; return 301 https://www.kicksecure.com$request_uri; } ## clearnet www server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name www.kicksecure.com; ssl_certificate /etc/letsencrypt/live/kicksecure.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/kicksecure.com/privkey.pem; ssl_trusted_certificate /etc/letsencrypt/live/kicksecure.com/fullchain.pem; include /etc/nginx/conf.d/hsts; more_set_headers "Onion-Location: http://www.w5j6stm77zs6652pgsij4awcjeel3eco7kvipheu6mtr623eyyehj4yd.onion$request_uri"; include /etc/nginx/conf.d/www; } ## onion www server { listen 127.0.0.1:70; server_name www.w5j6stm77zs6652pgsij4awcjeel3eco7kvipheu6mtr623eyyehj4yd.onion; more_set_headers "X-Robots-Tag: noindex, nofollow"; include /etc/nginx/conf.d/www; }
/etc/nginx/conf.d/www[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fconf.d.2Fwww
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Nginx#.2Fetc.2Fnginx.2Fconf.d.2Fwww|/etc/nginx/conf.d/www]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[/etc/nginx/conf.d/www](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fconf.d.2Fwww)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[/etc/nginx/conf.d/www](https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fconf.d.2Fwww)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Nginx?oldid=61107#.2Fetc.2Fnginx.2Fconf.d.2Fwww]/etc/nginx/conf.d/www[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
## actual nginx config shared among TLS and onion goes here
Kicksecure
A secure by default operating system with the latest security research in place.
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Nginx?oldid=61107
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Nginx|Nginx - Kicksecure]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Nginx - Kicksecure](https://www.kicksecure.com/wiki/Nginx?oldid=61107)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Nginx - Kicksecure](https://www.kicksecure.com/wiki/Nginx?oldid=61107)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Nginx?oldid=61107]Nginx - Kicksecure[/url]
Copy as phpBB Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.


Copy as Wikitext

for Discourse, reddit, GitHub

Copy as Markdown

Copy as phpBB Click below ↴ = Open social URL with share data









Supported by Power Up Privacy
Kicksecure is proudly supported until 2025 by
Power Up Privacy,
a privacy advocacy group that seeks to supercharge privacy projects with resources so they can complete their mission of making our world a better place.
(Strictly subject to our sponsorship policy.)
By using this website, you acknowledge you have read, understood, and agree to be bound by these agreements:
Terms of Service,
Privacy Policy,
Cookie Policy,
E-Sign Consent,
DMCA,
Imprint
2012-
2025 ENCRYPTED SUPPORT LLC


We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!
Retrieved from "https://www.kicksecure.com/w/index.php?title=Nginx&oldid=61107"