Skip to content

Instantly share code, notes, and snippets.

View fdemmer's full-sized avatar
🌱
developing

Florian Demmer fdemmer

🌱
developing
  • Vienna, Austria
  • 05:13 (UTC +02:00)
View GitHub Profile
@fdemmer
fdemmer / LICENSE
Last active March 6, 2021 19:00
This license applies to all public gists https://gist.github.com/fdemmer/
MIT License
Copyright (c) 2017-2021 Florian Demmer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
server {
listen *:80 default;
server_name _;
location / {
client_max_body_size 1G;
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;