8000 GitHub - mogottsch/static-server
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mogottsch/static-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-server

A minimal nginx configuration, which can be run as non-root, serving all files in the static folder.

Running as non-root

This nginx configuration can be run as non-root user with the following command

./start.sh

Why?

I use the vimium chrome extension, but always struggled with the new tab. Chrome deactivates all extensions on chromes own pages and therefore vimium cannot be used on those. Vimium itself allows to overwrite the new tab with a blank white page, however, I wanted to have more control over this page (e.g. make it dark and not blinding bright white). Therefore, I use this repository to start an nginx server on startup, to serve a darkmode blank.html, which I use as my new tab in chrome.
Nginx masterprocess needs to be run as root, but it seemed wrong to me to run a sudo command on startup just to serve a blank page. That is why I made this config, that can be run as non-root user.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0