Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

nginx cors

#this work for cors only one is allowed
location / {
    add_header 'Access-Control-Allow-Origin' '*' always;
}
Comment

nginx enable cors

add_header Access-Control-Allow-Origin *;
Comment

nginx cors error

location /api {
    add_header Access-Control-Allow-Origin *;
}
Comment

PREVIOUS NEXT
Code Example
Shell :: node-pre-gyp install --fallback-to-build --library=static_library 
Shell :: Job for apache2.service failed because the control process exited with error code. 
Shell :: git config remote.origin.url 
Shell :: git search history for file 
Shell :: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 
Shell :: bash silence output 
Shell :: show all passwords linux 
Shell :: make: g++: Command not found 
Shell :: bash how to generate md5 checksums on all files in a directory 
Shell :: brew see list of installed packages 
Shell :: ubuntu slack install 
Shell :: enable telnet using cmd 
Shell :: ufw delete rule 
Shell :: hash sum mismatch ubuntu 20.04 
Shell :: how to reverse an array in bash scripting? 
Shell :: how to install ruby on ubuntu 
Shell :: how to check if port is open mac 
Shell :: install k3s 
Shell :: install .net sdk on ubuntu 
Shell :: if argument exists bash 
Shell :: how to find and replace a string in a file using shell script 
Shell :: ubuntu no bluetooth found 
Shell :: Pipreqs: command not found 
Shell :: how to install asciiquarium on ubuntu 
Shell :: failed to download repository information ubuntu 
Shell :: process runninng on particular port 
Shell :: how to add remove origin url 
Shell :: install webpack cli 
Shell :: copy ssh keys to remote server windows 10 openSSH 
Shell :: install mysql linux mint 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =