Advertisement
baggrek

nginx

Dec 11th, 2024
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.16 KB | History | 0 0
  1. worker_processes  1;
  2.  
  3. events {
  4.     worker_connections  1024;
  5. }
  6.  
  7.  
  8. http {
  9.     include       mime.types;
  10.     default_type  application/octet-stream;
  11.  
  12.  
  13.     sendfile        on;
  14.  
  15.     keepalive_timeout  65;
  16.  
  17.     server {
  18.         listen       80;
  19.         server_name  localhost;
  20.  
  21.         location / {
  22.             root   /Users/randypradipta/Documents/project/prime/eduprime-siswa-fe/html;
  23.             index  index.html index.htm;
  24.         }
  25.         error_page   500 502 503 504  /50x.html;
  26.         location = /50x.html {
  27.             root   html;
  28.         }
  29.  
  30. worker_processes  1;
  31.  
  32. events {
  33.     worker_connections  1024;
  34. }
  35.  
  36.  
  37. http {
  38.     include       mime.types;
  39.     default_type  application/octet-stream;
  40.  
  41.     sendfile        on;
  42.     keepalive_timeout  65;
  43.  
  44.     server {
  45.         listen       80;
  46.         server_name  localhost;
  47.  
  48.         location / {
  49.             root   /Users/randypradipta/Documents/project/prime/eduprime-siswa-fe/html;
  50.             index  index.html index.htm;
  51.         }
  52.  
  53.         error_page   500 502 503 504  /50x.html;
  54.         location = /50x.html {
  55.             root   html;
  56.         }
  57.     }
  58.  
  59.     include servers/*;
  60. }
Tags: html JSON
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement