Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Create logo as <svg> image · 9 years ago

    Hello, I have seen that some images are encoded in text like &lt;svg&gt; in .yalm files How could I convert the image of my logo to that format?

  • Nginx minimal configuration · 9 years ago

    It works with https://github.com/YunoHost-Apps/grav_ynh/blob/master/conf/nginx.conf I can't understand why =s but never mind. Last time I tried it I must have forgotten to change fastcgi_pass Thank yo

  • Nginx minimal configuration · 9 years ago

    Wait, the difference is I'm forced to access domain.tld with ssl... (I have a file not found error at /grav whereas it works with blog.domain.tld without ssl)

  • Nginx minimal configuration · 9 years ago

    I have some news, I copied the exact same config I have for domain.tld for blog.domain.tld. It works for blog.domain.tld but not for domain.tld... I can't understand...

  • Nginx minimal configuration · 9 years ago

    You put a location directive within a location. location / { (...) location /grav { try_files $uri $uri/ /grav/index.php?_url=$uri&amp;$query_string; } It needs to be on its own

  • Nginx minimal configuration · 9 years ago

    nginx -t nginx: [emerg] duplicate location "/" in /etc/nginx/conf.d/domain.tld.d/my_webapp__2.conf:39 nginx: configuration file /etc/nginx/nginx.conf test failed ---

  • Nginx minimal configuration · 9 years ago

    Try putting that code outside and under the location that is already there.

  • Nginx minimal configuration · 9 years ago

    I can't because location / { is already declared, so I tried location / { (...) location /grav { try_files $uri $uri/ /grav/index.php?_url=$uri&amp;$query_string; } location ~*

  • Nginx minimal configuration · 9 years ago

    Would guess this does the trick for you: Put this under your original .conf for your domain and add Grav package under that server root. location / { try_files $uri $uri/ /index.php?_url=$uri&a

  • Nginx minimal configuration · 9 years ago

    It works ! But I had to put it under blog.domain.tld as I already have a server directive for domain.tld, I'd like to have it in domain.tld/grav/ (for SEO) So I tried to put pieces of your conf in dom