Skip to content

Commit

Permalink
Update server name and root directory in nginx configuration
Browse files Browse the repository at this point in the history
This commit updates the server name from localhost to portfolio.stitts.dev in the nginx configuration file. The root directory has also been modified, and an additional index file type, index.htm, has been added to the index instruction.
  • Loading branch information
stitts-dev committed Jun 11, 2024
1 parent e1c414d commit b068f76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
server {
listen 80;
server_name localhost;
server_name portfolio.stitts.dev;

root /usr/share/nginx/site;
index index.html;
root /usr/share/nginx/site/;
index index.html index.htm;

location / {
try_files $uri $uri/ =404;
Expand Down

0 comments on commit b068f76

Please sign in to comment.