mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Activated Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always for Nextcloud
This commit is contained in:
		| @@ -49,7 +49,7 @@ http { | ||||
|         # will add the domain to a hardcoded list that is shipped | ||||
|         # in all major browsers and getting removed from this list | ||||
|         # could take several months. | ||||
|         #add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always; | ||||
|         add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always; | ||||
|  | ||||
|         # set max upload size | ||||
|         client_max_body_size 512M; | ||||
|   | ||||
| @@ -12,9 +12,9 @@ server | ||||
|   location / | ||||
|   { | ||||
|     alias {{nginx.directories.data.files}};  {# Path to your file directory #} | ||||
|     autoindex on;                       {# Enable directory listing #} | ||||
|     autoindex_exact_size off;           {# Display sizes in a human-readable format #} | ||||
|     autoindex_localtime on;             {# Show local time #} | ||||
|     autoindex on;                            {# Enable directory listing #} | ||||
|     autoindex_exact_size off;                {# Display sizes in a human-readable format #} | ||||
|     autoindex_localtime on;                  {# Show local time #} | ||||
|   } | ||||
|  | ||||
|   location /.well-known/ { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user