Skip to content
This repository has been archived by the owner on Dec 24, 2017. It is now read-only.

nginx configuration

Alexander Alemayhu edited this page Feb 12, 2017 · 2 revisions
# domain: lolsack.com
# public: /home/scanf/web/lolsack.com
server {
	listen 80 default_server; # catch em all
	listen [::]:80;

	server_name lolsack.com;

	root /home/scanf/web/lolsack.com;
	index index.html;
	error_log  /home/scanf/web/lolsack.com/log/error.log;
	access_log  /home/scanf/web/lolsack.com/log/access.log;


	location / {
		try_files $uri $uri/ =404;
	}

	location ~ /.well-known {
                allow all;
        }
}
Clone this wiki locally