Commit f8a6b604 authored by Luc Didry's avatar Luc Didry

Add template for nginx

parent f2a977fa
......@@ -94,7 +94,7 @@ PRAGMA writable_schema = 0;
## Reverse proxy
You can use a reverse proxy like Nginx or Varnish (or Apache with the mod\_proxy module). The web is full of tutos.
For Nginx, use `utilities/lstu.nginx` as a template for your virtualhost configuration.
## Internationalization
......
upstream lstu {
server 127.0.0.1:8442;
}
server {
listen 80;
listen [::]:80;
server_name lstu.example.org;
access_log /var/log/nginx/lstu.access.log;
error_log /var/log/nginx/lstu.error.log;
location / {
proxy_set_header Host $host;
proxy_pass http://lstu;
proxy_redirect http://lstu https://lstu.example.org;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment