Skip to content

Instantly share code, notes, and snippets.

View mubbi's full-sized avatar

Mubbasher Ahmed Qureshi mubbi

View GitHub Profile
@mubbi
mubbi / nginx.conf
Created August 19, 2018 16:28 — forked from lkmadushan/nginx.conf
NGINX configuration for multi-tenant PHP application
map $http_accept $api_version {
default 0;
"application/vnd.example.v1+json" 1;
}
server {
listen 80;
listen [::]:80;
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:2c553JVI7uiIyAd2JREnDKL9qJPk7AKo7qdDvy+iPhI=
APP_DEBUG=true
APP_URL=http://localhost:81/laravel/blog/laravel-blog-5.6.5/public
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1