Warning: This page has not been updated in over over a year and may be outdated or deprecated.
installation:nginx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
installation:nginx [2017/07/13 04:25] – for using vufind in diferent location using alias an rewrite. horaciod | installation:nginx [2023/11/28 20:36] – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using Nginx with VuFind | + | ====== Using Nginx with VuFind® |
- | You can serve VuFind | + | You can serve VuFind® |
- | This example configuration was shared by Sascha-Oliver Prolic. | + | ===== Example 1 ===== |
+ | |||
+ | // This example configuration was shared by Sascha-Oliver Prolic. | ||
< | < | ||
Line 44: | Line 46: | ||
</ | </ | ||
- | If you want to serve vufind in diferent location (in my case "/explorador" | + | // This example configuration was shared by Horacio Degiorgi. |
- | + | ||
- | This // | + | |
+ | If you want to serve VuFind® in a different location (in this case, "/ | ||
< | < | ||
Line 66: | Line 67: | ||
alias / | alias / | ||
index index.php; | index index.php; | ||
- | ## Check for file existing and if there, stop ## | + | |
if (-f $request_filename) { | if (-f $request_filename) { | ||
break; | break; | ||
Line 78: | Line 79: | ||
## If we get here then there is no file or directory matching request_filename ## | ## If we get here then there is no file or directory matching request_filename ## | ||
rewrite (.*) / | rewrite (.*) / | ||
- | |||
- | | ||
- | |||
- | |||
location ~ \.php$ { | location ~ \.php$ { | ||
Line 100: | Line 97: | ||
</ | </ | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
installation/nginx.txt · Last modified: 2023/11/28 20:37 by demiankatz