Search
 
SCRIPT & CODE EXAMPLE
 

CSS

nginx proxy_pass pass css asset not loading

location / {
    proxy_pass http://127.0.0.1:10000;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

location ~ ^/(images/|img/|javascript/|js/|css/|stylesheets/|flash/|media/|static/|robots.txt|humans.txt|favicon.ico) {
    root /root/of/your/public/assets;
    access_log off;
    expires max;
}
Comment

PREVIOUS NEXT
Code Example
Css :: nav items moving when hover 
Css :: Styling based on parent state 
Css :: CSS - The Descendant Selectors 
Css :: jitsi meet index.html add css version 
Css :: countload on pageloading in html css 
Css :: animating a text in css 
Css :: css color keywords 
Css :: li color change css 
Css :: text stil 
Css :: css for floting input label 
Css :: div nth child 
Css :: how to use css print page break with float 
Css :: radio button css only 1 
Css :: css file verlinken 
Css :: css video poster object-fit 
Css :: disable safari form formatting 
Css :: Slick slider and ACF Pro in WordPress 
Css :: how to allow text to be copied in an input element ionic 
Css :: bootstrap pagination left side 
Css :: Galerija nije kreirana uspešno 
Css :: grid-templete-rows: masonary 
Css :: paste in form field cordova app 
Css :: remove line breaks css 
Css :: tailwindcss link tag 
Css :: css background image not showing vscode 
Typescript :: ul dots remove 
Typescript :: python get file contents as string 
Typescript :: python tkinter clear frame 
Typescript :: how to check if file exists lua 
Typescript :: if driver element exists python 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =