Tips and Tricks on Cookies, Locations, and Rewrite Rules

A session at nginx.conf 2016

Wednesday 7th September, 2016

5:10pm to 5:50pm (CST)

We discuss the advanced techniques available within nginx for URL manipulation and content generation. We will cover using rewrite and location rules, differences between internal and external redirects (and HTTP status codes), using and blocking cookies with upstream servers, and actual web-page generation all within nginx, without necessarily using any resources external to the configuration file itself.

The material will be based on the experience of running semantic URL services like mdoc.su and bxr.su, as well as on-the-fly modification of the behaviour of applications like the Java-based OpenGrok with the help of nginx.conf.

Attendees will gain a clear understanding of how URL manipulation works within nginx, and will be able to design deterministic URL shortening services using semantic URL schemes.

About the speaker

This person is speaking at this event.
Constantine A. Murenin

Systems Software Engineer

Constantine A. Murenin is a *BSD kernel developer and committer who enjoys writing and rewriting complete web applications with the help of regular expressions and nginx.conf.

Also known as “cnst”, he has been affiliated with Mozilla, OpenBSD, FreeBSD, DragonFly BSD and NetBSD, as well as Google Summer of Code, and has been a frequent speaker at conferences around the world.

Mr. Murenin is a graduate of David R. Cheriton School of Computer Science, University of Waterloo, MMath CS, 2010.

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 5:10pm5:50pm CST

Date Wed 7th September 2016

Short URL


Official session page


View the schedule



See something wrong?

Report an issue with this session