Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
NginXConfigDiff
Created
7 years ago
Diff never expires
Clear
Export
Share
Explain
14 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
26 lines
Copy
19 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
29 lines
Copy
server {
server {
Copy
Copied
Copy
Copied
server_name
_;
listen 80;
return 301 https://$host$request_uri
;
listen [::]:80;
server_name
contfix.co.il www.contfix.co.il
;
Copy
Copied
Copy
Copied
root /var/www/html;
ssl_certificate /etc/nginx/conf.d/ssl/contfix.co.il.crt;
index index.php index.html index.htm;
ssl_certificate_key /etc/nginx/conf.d/ssl/contfix.co.il.key;
ssl_dhparam /etc/nginx/conf.d/ssl/dhparam.pem;
root /var/www/html/contfix.co.il;
location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
location ~ \.php$ {
include snippets/fastcgi-php.conf;
include snippets/fastcgi-php.conf;
fastcgi_pass 127.0.0.1:9000;
fastcgi_pass 127.0.0.1:9000;
}
}
Copy
Copied
Copy
Copied
location
/
{
location
~* \.(jpg|jpeg|png|gif|ico|css|js|ttf|woff)$
{
try_files $uri $uri/ =404
;
expires 365d
;
}
}
Copy
Copied
Copy
Copied
location ~
/\.ht
{
location ~
* \.(pdf)$
{
deny all
;
expires 30d
;
}
}
Copy
Copied
Copy
Copied
# notes {
# 443 ssl http2;
# [::]:443 ssl http2;
# }
}
}
Copy
Copied
Copy
Copied
Saved diffs
Original text
Open file
server { server_name _; return 301 https://$host$request_uri; root /var/www/html; index index.php index.html index.htm; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass 127.0.0.1:9000; } location / { try_files $uri $uri/ =404; } location ~ /\.ht { deny all; } # notes { # 443 ssl http2; # [::]:443 ssl http2; # } }
Changed text
Open file
server { listen 80; listen [::]:80; server_name contfix.co.il www.contfix.co.il; ssl_certificate /etc/nginx/conf.d/ssl/contfix.co.il.crt; ssl_certificate_key /etc/nginx/conf.d/ssl/contfix.co.il.key; ssl_dhparam /etc/nginx/conf.d/ssl/dhparam.pem; root /var/www/html/contfix.co.il; location / { index index.php index.html index.htm; try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass 127.0.0.1:9000; } location ~* \.(jpg|jpeg|png|gif|ico|css|js|ttf|woff)$ { expires 365d; } location ~* \.(pdf)$ { expires 30d; } }
Find difference