Giter VIP home page Giter VIP logo

nginx-config-editor's Introduction

Nginx Config Editor

This is a simple web-based tool to edit nginx configuration files. With it you can remotely edit configuration files, create new configuration files, check the files for syntax errors, as well as restart the nginx service.

To run this this project, you must have Node.js installed, along with npm, the Node.js package manager.

Clone the project:

git clone https://github.com/JacFearsome/nginx-config-editor.git

Install the node module dependencies:

cd nginx-config-editor && npm install

Run the app (you must run as sudo to be able to access the nginx directory):

sudo node server.js

And finally, go to http://localhost:7676/ in your web browser.

You can also change the default directory used to look for nginx files by editing app/config.js, which by default is set to /etc/nginx/sites-enabled.

I would recommend only running this within a local network, as to prevent the entire internet from having the ability to edit your nginx configuration files.

Also, if you decide to use this on a more permanent basis, I would not recommend setting up an nginx reverse proxy for it, because if your nginx breaks while you are editing files, you will lose access to the site and won't be able to fix the problem. In other words, because this tool manages nginx, don't access it through an nginx reverse proxy.

Screenshot: alt text

nginx-config-editor's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.