Web Server

The static websites generated by Qgoda can be served by almost every web server available on the market.

The simplest way to deploy a Qgoda site is to publish the rendered pages to a web-server, no matter whether this web server runs in the cloud or on premise.

If you have access to a web server like nginx or Apache you just have to copy the contents of the directory _site (or whatever path you have configured in paths.site) into the document root of that web server.

The easiest way to do that is using rsync. The advantage over plain scp or ftp is that it is able to also delete files that no longer exist. A typical deployment script would look like this:

$ rsync -avz --delete _site/ user@www.example.com:/usr/share/nginx/html

The trailing slash in _site/ is important! It means that the contents of the directory _site is synched, not the directory itself. If you omit the slash, you would end up creating a directory /usr/share/nginbx/html/_site on the server which is not what you want.

Diese Website verwendet Cookies und ähnliche Technologien, um gewisse Funktionalität zu ermöglichen, die Benutzbarkeit zu erhöhen und Inhalt entsprechend ihren Interessen zu liefern. Über die technisch notwendigen Cookies hinaus können abhängig von ihrem Zweck Analyse- und Marketing-Cookies zum Einsatz kommen. Sie können ihre Zustimmung zu den vorher erwähnten Cookies erklären, indem sie auf "Zustimmen und weiter" klicken. Hier können sie Detaileinstellungen vornehmen oder ihre Zustimmung - auch teilweise - mit Wirkung für die Zukunft zurücknehmen. Für weitere Informationen lesen sie bitte unsere Datenschutzerklärung.