Last modified by Alexandru Pentilescu on 2023/06/25 18:56

From version 17.1
edited by Alexandru Pentilescu
on 2022/06/08 21:45
Change comment: There is no comment for this version
To version 20.1
edited by Alexandru Pentilescu
on 2022/06/08 21:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -160,7 +160,7 @@
160 160  
161 161  In "/etc/nginx/sites-available/", please create a "xwiki.conf" file with the following contents:
162 162  
163 -{{code language="nginx configuration file"}}
163 +{{code language="nginx"}}
164 164  server {
165 165   server_name wiki.pentilescu.com;
166 166  
... ... @@ -185,6 +185,14 @@
185 185  sudo ln -s /etc/nginx/sites-available/xwiki.conf /etc/nginx/sites-enabled/xwiki.conf
186 186  {{/code}}
187 187  
188 +Finally, test your configuration before restarting Nginx with:
189 +
190 +{{code language="bash"}}
191 +sudo nginx -t
192 +{{/code}}
193 +
194 +If errors are reported, please review your configuration files and repair all the detected issues. If everything is fine then issue a "sudo systemctl restart nginx" and then you're pretty much good to go!
195 +
188 188  = External references =
189 189  
190 190  [[Official docker guide for installing XWiki>>https://github.com/xwiki/xwiki-docker/blob/master/README.md]]