New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

cp not showing up under forge

Charles Grisar August 5, 2020 by Charles Grisar


I created a multisite, 3 languages: default, fr and nl.

Works under Valet.

Did all necessary modifications to nginx.conf under forge

Problem: the css's and js's not showing up

My nginx.conf under forge

```location /cp {

location /index.php/_resources/ {

location @frrewrites {
    rewrite ^/fr/(.*)$ /fr/index.php last;

location /fr {
    try_files $uri $uri/ @frrewrites;

location @nlrewrites {
    rewrite ^/nl/(.*)$ /nl/index.php last;

location /nl {
    try_files $uri $uri/ @nlrewrites;

I guess there must be something wrong with locations because I get a 404 on all the css and js files (and also on the add-ons)

Answered by Charles Grisar!
>>>>>>> Answered <<<<<<<
1 Reply
1 Follower