nginx config added

This commit is contained in:
Dhanraj
2024-07-07 15:40:07 +05:30
parent a1810175bd
commit a42474deec
2 changed files with 17 additions and 3 deletions

16
.nginx/nginx.conf Normal file
View File

@ -0,0 +1,16 @@
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html =404;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

View File

@ -12,8 +12,6 @@ import About from 'components/Saas/About';
import Testimonials from 'components/Saas/Testimonials'; import Testimonials from 'components/Saas/Testimonials';
import Pricing from 'components/Saas/Pricing'; import Pricing from 'components/Saas/Pricing';
// import Footer from 'components/software/Footer'; // import Footer from 'components/software/Footer';
import Footer from '../../components/software/Footer'; // Adjust the relative path as needed
const PageServices5 = () => { const PageServices5 = () => {
const navbarRef = useRef(null); const navbarRef = useRef(null);
@ -33,7 +31,7 @@ const PageServices5 = () => {
{/* <Testimonials /> */} {/* <Testimonials /> */}
{/* <Pricing /> */} {/* <Pricing /> */}
</main> </main>
<Footer /> {/* <Footer noWave /> */}
</MainLayout> </MainLayout>
) )
} }