skip to Main Content

I have django application and nginx

I have django application and nginx, from browser, it access to the file /static. such as http://example.com/static/file.png However my application has files under /staticroot. http://example.com/staticroot/file.png it shows the image. So, I set on nginx. location /static { alias /staticroot; }…

VIEW QUESTION

my app routs me to a page, but i cant access it directly – Nginx

i have setup a link that routes me to an about page (about.js): import React,{useState,useEffect} from 'react'; import Link from 'next/link' ///------------------------PAGES-------------------------------/// import {default as Main} from '../app/sections/Main.js' export default function Home() { const [site, setSite] = useState('down'); const mainprops…

VIEW QUESTION
Back To Top
Search