Skip to content

Instantly share code, notes, and snippets.

View boutzamat's full-sized avatar

Suleiman Boutzamat boutzamat

View GitHub Profile
@boutzamat
boutzamat / exchange.conf
Created October 16, 2023 10:34 — forked from crypt0rr/exchange.conf
Configuration for Microsoft Exchange Server (2010 / 2013 / 2016) behind a (free) nginx reverse proxy. This config allows things like Microsoft ActiveSync.
server {
listen 80;
server_name mail.example.com;
return 301 https://mail.example.com;
}
server {
listen 443 ssl http2;
server_name mail.example.com autodiscover.example.com;