Skip to content

Instantly share code, notes, and snippets.

View eriethri's full-sized avatar

Eric E eriethri

View GitHub Profile
@eriethri
eriethri / nginx.conf
Last active November 8, 2018 16:35 — forked from bsergean/nginx.conf
Simple nginx.conf file
#
# Run in the foreground locally
# nginx -p . -c nginx.conf
#
worker_processes 1;
daemon off;
error_log nginx_error.log;
events {
worker_connections 1024;
@eriethri
eriethri / proxy.apache.conf
Created October 31, 2018 05:18 — forked from chrisjhoughton/proxy.apache.conf
Sample Nginx reverse proxy to Apache set up for Wordpress.
<VirtualHost *:{PORT}>
ServerName www.yourdomain.com
ServerAdmin [email protected]
DocumentRoot /var/www/yourdir/
<Directory /var/www/yourdir>
Options Indexes FollowSymLinks
AllowOverride all
Order allow,deny