About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


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.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installation:nginx [2017/07/13 12:09] demiankatzinstallation:nginx [2023/11/28 20:37] (current) demiankatz
Line 1: Line 1:
-====== Using Nginx with VuFind ======+====== Using Nginx with VuFind® ======
  
-You can serve VuFind using [[http://nginx.org/|Nginx]] as an alternative to [[http://httpd.apache.org/|Apache]].+You can serve VuFind® using [[http://nginx.org/|Nginx]] as an alternative to [[http://httpd.apache.org/|Apache]]. There is not currently an officially distributed Nginx configuration, but the examples below may help you get things working.
  
-This example configuration was shared by Sascha-Oliver Prolic.+===== Example 1 ===== 
 + 
 +// This example configuration was shared by Sascha-Oliver Prolic. //
  
 <code> <code>
Line 44: Line 46:
 </code> </code>
  
-If you want to serve vufind in diferent location (in my case "/explorador") using alias and rewrite instead of try_files  +===== Example 2 =====
  
-This //additional// example configuration was shared by Horacio Degiorgi.+// This example configuration was shared by Horacio Degiorgi. //
  
 +If you want to serve VuFind® in a different location (in this case, "/explorador") you can use alias and rewrite instead of try_files.
  
 <code> <code>
Line 66: Line 69:
     alias /usr/local/vufind/public/;     alias /usr/local/vufind/public/;
     index index.php;     index index.php;
-## Check for file existing and if there, stop ##+    ## Check for file existing and if there, stop ##
     if (-f $request_filename) {     if (-f $request_filename) {
         break;         break;
Line 78: Line 81:
     ## 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 (.*) /explorador/index.php?$query_string;     rewrite (.*) /explorador/index.php?$query_string;
- 
-     
- 
- 
  
     location ~ \.php$ {     location ~ \.php$ {
Line 100: Line 99:
 </code> </code>
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
installation/nginx.1499947785.txt.gz · Last modified: 2017/07/13 12:09 by demiankatz