Skip to content

Instantly share code, notes, and snippets.

View abshkd's full-sized avatar
:shipit:
Focusing

Abhishek Dujari abshkd

:shipit:
Focusing
View GitHub Profile
@cboettig
cboettig / docker-compose.yml
Last active December 31, 2023 15:23
debugging NGINX configuration for Jupyter
jupyter:
image: jupyter/datascience-notebook
environment:
- PASSWORD=${PASSWORD}
nginx:
image: nginx
links:
- jupyter
@almays
almays / gist:3928668
Created October 21, 2012 21:55
Unix conf: Sendy nginx rewrite rules
index index.php index.html;
root /your/path/to/the/sendy;
location = / {
index index.php;
}
location / {
if (!-f $request_filename){
rewrite ^/([a-zA-Z0-9-]+)$ /$1.php last;