next.js, nginx, reverse-proxy, ssl
Your server.js
file should look like the following. Make sure you're serving static files!
const { createServer } = require('http');
const { parse } = require('url');
const next = require('next');
next.js, nginx, reverse-proxy, ssl
Your server.js
file should look like the following. Make sure you're serving static files!
const { createServer } = require('http');
const { parse } = require('url');
const next = require('next');