In Drupal 7 this hash salt was generated by the credentials of the Database, which is okay but not great. AMAZEEIO_HASH_SALT - Drupal needs a hash salt to generate secure cookies and one-time-login links.To make the handling of such sites easier there is this new environment variable which contains the absolute path to this subfolder like: '/var/www/drupal/public_html/web/' AMAZEEIO_WEBROOT - Some Drupal installations run inside a subfolder like 'web'.Since the last maintenance last night we welcome a few more environment variables to the □□□□ □□□□:□□□□ Tail -f ~/logs/nginx/10fe-$AMAZEEIO_Īnd you will see the access logs of the frontend Nginx in real□, wooho!Įnvironment variables are awesome✌️: They allow us to define some defaults for you, which you then just can use and don't need to worry about configuring our Drupal correctly or securely. These files are logrotated, which means every week a new file is generated and the old file is renamed.ītw if you would like to see real time logs, try: - This is the error log from the backend Nginx, you will see here not only Nginx errors, but also any PHP and Drupal errors.So these are requests that cannot be cached and will be handled by PHP. - This is the access log from the backend Nginx, here you will see every request that has passed the frontend Nginx and Varnish.- If the frontend Nginx throws any errors or cannot handle a request, you will see them here.We actually use this file to generate the amount of hits per month. If this site is a production site it will pass the request to Varnish where the request might is cached. Redirects are handled directly on this Nginx and not passed back, the same also for HTTP to HTTPS redirects. - This is the access log from the frontend Nginx, which receives all requests to your site.So you know exactly what is going on on your site. Sometimes you just need to see the bare metal logs of what is happening on your Drupal site, and now you can!Įvery site hosted on amazee.io has now a new folder called ~/logs/nginx were we put all logs from the two nginx serving your site.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |