diff options
author | Gustav Eek <gustav@fripost.org> | 2015-04-23 22:17:29 +0200 |
---|---|---|
committer | Gustav Eek <gustav@fripost.org> | 2015-04-23 22:17:29 +0200 |
commit | e25959babfb4d6514f1a8766e24f4a4272236b96 (patch) | |
tree | 53aea01ccc76d07a293b234235e838e050909857 /moten/2011-05-25.mdwn | |
parent | e848046a0e83a8a1a021fb8206f972c04414f649 (diff) |
The attempt actually works
To complete a previous git commit message. Configure the web server
forwarding rules correctly will make static content to be served
correctly. This is the Nginx configuration snippet:
----
server {
server_name fripost.localhost;
location / {
root /home/gustav/public_html/fripost-wiki/website;
location /static { root /home/gustav/public_html/fripost-wiki; }
}
}
server {
server_name wiki.fripost.localhost;
location / {
root /home/gustav/public_html/fripost-wiki;
}
}
----
The extra rule for `/static` did the thing.
Diffstat (limited to 'moten/2011-05-25.mdwn')
0 files changed, 0 insertions, 0 deletions