move onion address to nginx header
This commit is contained in:
		@@ -22,7 +22,6 @@
 | 
			
		||||
 | 
			
		||||
		</nav>
 | 
			
		||||
		<h2>oily.dad</h2>
 | 
			
		||||
		<h5>oilydada7ckiseinkbeathsefwgkvjrce743xy7x7iiybkuxh4vheead.onion</h5>
 | 
			
		||||
		</header>
 | 
			
		||||
		<hr>
 | 
			
		||||
		{% with messages = get_flashed_messages() %}
 | 
			
		||||
 
 | 
			
		||||
@@ -22,6 +22,7 @@ server {
 | 
			
		||||
	root /var/www/html;
 | 
			
		||||
	index index.php index.html index.htm;
 | 
			
		||||
 | 
			
		||||
	add_header Onion-Location http://oilydada7ckiseinkbeathsefwgkvjrce743xy7x7iiybkuxh4vheead.onion$request_uri;
 | 
			
		||||
 | 
			
		||||
	location / {
 | 
			
		||||
		proxy_pass http://backend:8000/;
 | 
			
		||||
 
 | 
			
		||||
@@ -22,6 +22,7 @@ server {
 | 
			
		||||
	root /var/www/html;
 | 
			
		||||
	index index.php index.html index.htm;
 | 
			
		||||
 | 
			
		||||
	add_header Onion-Location http://oilydada7ckiseinkbeathsefwgkvjrce743xy7x7iiybkuxh4vheead.onion$request_uri;
 | 
			
		||||
 | 
			
		||||
	location / {
 | 
			
		||||
		proxy_pass http://backend:8000/;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user