Changes between Version 3 and Version 4 of TutorialHowToInstallDolphinOnNginx
- Timestamp:
- Apr 15, 2013, 4:54:14 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TutorialHowToInstallDolphinOnNginx
v3 v4 107 107 }}} 108 108 109 Above rewrite rules re for '''location''' section, for example: 110 111 {{{ 112 location /path_to_dolphin { 113 index index.html index.htm index.php; 114 # rewrite rules goes here 115 } 116 }}} 117 118 109 119 Now everything should work, but some optimisation is needed. 110 120 Add the following rules to tell Nginx to server static files directly, it will also tell user's browser to cache them for 1 month: